Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TimeNowString ¶
func TimeNowString() string
TimeNowString returns the current time in the configured timezone as a string.
Types ¶
type Cache ¶
type Cache struct { ID string `gorm:"<-:create,type:uuid;primary_key" json:"id"` Value string `gorm:"type:text;not null" json:"value"` CreatedAt time.Time `gorm:"type:timestamp;not null" json:"created_at"` UpdatedAt time.Time `gorm:"type:timestamp;not null" json:"updated_at"` }
Cache is a struct that represents the cache table.
Click to show internal directories.
Click to hide internal directories.