Documentation
¶
Overview ¶
Package domain defines the core user domain entities and types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct {
ID int64 `db:"id"`
Name string `db:"name" fieldtag:"insert,update"`
Email string `db:"email" fieldtag:"insert,update"`
Password string `db:"password" fieldtag:"insert,update"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
}
User represents a user in the system
Click to show internal directories.
Click to hide internal directories.