fix: add missing struct field to user (#10)

This commit is contained in:
Ludvig Lundgren 2021-08-19 18:42:59 +02:00 committed by GitHub
parent 929231ec35
commit b8edeb5f31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,7 @@ type UserRepo interface {
}
type User struct {
ID int `json:"id"`
Username string `json:"username"`
Password string `json:"password"`
}