Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToArrayOfUsersV1Domain ¶
func ToArrayOfUsersV1Domain(u *[]Users) []V1Domains.UserDomain
Types ¶
type Users ¶
type Users struct {
Id string `db:"id"`
Username string `db:"username"`
Email string `db:"email"`
Password string `db:"password"`
Active bool `db:"active"`
RoleId int `db:"role_id"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt *time.Time `db:"updated_at"`
DeletedAt *time.Time `db:"deleted_at"`
}
func FromUsersV1Domain ¶
func FromUsersV1Domain(u *V1Domains.UserDomain) Users
func (*Users) ToV1Domain ¶
func (u *Users) ToV1Domain() V1Domains.UserDomain
Click to show internal directories.
Click to hide internal directories.