user.go 262 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 package domain type User struct { ID int IdentityNumber string Email string Name string Base } type UserService interface { } type UserRepository interface { GetList() ([]User, error) GetUserByID(id int) (*User, error) }