Documentation
¶
Overview ¶
Package domain contains business logic models.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
ID int
Name string
Email string
User DomainUser // The fields of DomainUser operate at depth level 2.
}
Account represents a user account.
type DomainUser ¶
type DomainUser struct {
UserID int
Username string
Password Password // The fields of Password operate at depth level 3.
}
DomainUser represents a user in relation to business logic.
Click to show internal directories.
Click to hide internal directories.