Documentation ¶
Overview ¶
Package mysql holds view model repositories
Package mysql holds view model repositories
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserRepository ¶
func NewUserRepository(db *sql.DB) persistence.UserRepository
NewUserRepository returns mysql view model repository for user
Types ¶
type User ¶
type User struct { ID string `json:"id"` Email string `json:"emailAddress"` FacebookID mysql.NullString `json:"facebookId"` GoogleID mysql.NullString `json:"googleId"` }
User model
Click to show internal directories.
Click to hide internal directories.