Documentation
¶
Index ¶
- type BaseEntity
- func (b BaseEntity) GetCreatedAt() time.Time
- func (b BaseEntity) GetDescription() string
- func (b BaseEntity) GetDisplayName() string
- func (b BaseEntity) GetID() uuid.UUID
- func (b BaseEntity) GetName() string
- func (b BaseEntity) GetUpdatedAt() time.Time
- func (b BaseEntity) JsonToString() (string, error)
- func (b BaseEntity) ToJson() ([]byte, error)
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseEntity ¶
type BaseEntity struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Description string `json:"description"` DisplayName string `json:"displayName"` UpdatedAt time.Time `json:"updatedAt"` CreatedAt time.Time `json:"createdAt"` }
func (BaseEntity) GetCreatedAt ¶
func (b BaseEntity) GetCreatedAt() time.Time
func (BaseEntity) GetDescription ¶
func (b BaseEntity) GetDescription() string
func (BaseEntity) GetDisplayName ¶
func (b BaseEntity) GetDisplayName() string
func (BaseEntity) GetID ¶
func (b BaseEntity) GetID() uuid.UUID
func (BaseEntity) GetName ¶
func (b BaseEntity) GetName() string
func (BaseEntity) GetUpdatedAt ¶
func (b BaseEntity) GetUpdatedAt() time.Time
func (BaseEntity) JsonToString ¶
func (b BaseEntity) JsonToString() (string, error)
func (BaseEntity) ToJson ¶
func (b BaseEntity) ToJson() ([]byte, error)
type User ¶
type User struct { BaseEntity Email string `json:"email"` Image50 string `json:"image50"` AuthenticationMechanism interface{} `json:"authenticationMechanism"` // map to oneOf }
Click to show internal directories.
Click to hide internal directories.