Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTimeFormat ¶
func GetTimeFormat() string
Types ¶
type Base ¶
type Base struct {
ID uuid.UUID `json:"_id"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
func (*Base) GenerateID ¶
func (b *Base) GenerateID()
func (*Base) SetCreatedAt ¶
func (b *Base) SetCreatedAt()
func (*Base) SetUpdatedAt ¶
func (b *Base) SetUpdatedAt()
Click to show internal directories.
Click to hide internal directories.