iris/_examples/auth/jwt/tutorial/domain/model/user.go
Gerasimos (Makis) Maropoulos 579c3878f0
add a jwt tutorial + go client
2020-11-04 21:12:13 +02:00

10 lines
219 B
Go

package model
// User represents our User model.
type User struct {
ID string `json:"id"`
Username string `json:"username"`
HashedPassword []byte `json:"-"`
Roles []Role `json:"roles"`
}