tests: improve repo package coverage (#3)

* refactor and add repo tests

* add CI name

* use atomic for test shutdown

* use go 1.19

* add timeout
This commit is contained in:
Hayden 2022-09-05 00:26:21 -08:00 committed by GitHub
parent 888ecfde34
commit 508e2e59bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 540 additions and 186 deletions

View file

@ -41,8 +41,8 @@ func (u UserCreate) Validate() error {
}
type UserUpdate struct {
Name *string `json:"name"`
Email *string `json:"email"`
Name string `json:"name"`
Email string `json:"email"`
}
type UserRegistration struct {