ref: master
types/user.go
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package types import ( "time" ) type User struct { ID int FirstName string LastName string Username string Email string CreatedAt time.Time UpdatedAt time.Time EncryptedPassword string }