Documentation ¶
Index ¶
- type ActiveStatus
- type Email
- type FirstName
- type Gender
- type ID
- type Image
- type LastName
- type Password
- type Profile
- type ProfileForClient
- type Profiles
- type ProfilesForClient
- type StdError
- type Time
- func (t *Time) GetPostgreSQLType() pgtype.Timestamp
- func (t *Time) IsZero() bool
- func (t *Time) Primitive() string
- func (t *Time) PrimitiveFromPostgreSQLType(tp pgtype.Timestamp) time.Time
- func (t *Time) Set(val string)
- func (t *Time) SetFromTime(tm time.Time, tz Timezone)
- func (t *Time) ToTime() (time.Time, error)
- type Timezone
- type User
- type UserForClient
- type UserWithProfile
- type UserWithProfileForClient
- type Username
- type UsernameOrEmail
- type Users
- type UsersForClient
- type UsersWithProfile
- type UsersWithProfileForClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveStatus ¶
type ActiveStatus uint8
func (*ActiveStatus) IsActive ¶
func (a *ActiveStatus) IsActive() bool
func (*ActiveStatus) Primitive ¶
func (a *ActiveStatus) Primitive() uint8
func (*ActiveStatus) Set ¶
func (a *ActiveStatus) Set(val uint8)
type Image ¶
type Image string
func (*Image) GetPostgreSQLType ¶
func (*Image) PrimitiveFromPostgreSQLType ¶
type ProfileForClient ¶
type ProfileForClient Profile
type ProfilesForClient ¶
type ProfilesForClient []*ProfileForClient
type StdError ¶
func NewStdError ¶
NewStdError generates new StdError.
type Time ¶
type Time string
func (*Time) GetPostgreSQLType ¶
func (*Time) PrimitiveFromPostgreSQLType ¶
type UserForClient ¶
type UserWithProfile ¶
type UserWithProfileForClient ¶
type UserWithProfileForClient struct { UserForClient Profile *ProfileForClient `json:"profile"` }
type UsernameOrEmail ¶
type UsernameOrEmail string
func (*UsernameOrEmail) Primitive ¶
func (u *UsernameOrEmail) Primitive() string
func (*UsernameOrEmail) Set ¶
func (u *UsernameOrEmail) Set(val string)
func (*UsernameOrEmail) Validate ¶
func (u *UsernameOrEmail) Validate() error
type UsersForClient ¶
type UsersForClient []*UserForClient
type UsersWithProfile ¶
type UsersWithProfile []*UserWithProfile
type UsersWithProfileForClient ¶
type UsersWithProfileForClient []*UserWithProfileForClient
Click to show internal directories.
Click to hide internal directories.