Documentation ¶
Index ¶
Constants ¶
View Source
const EndPoint = "histories"
Variables ¶
This section is empty.
Functions ¶
func GetByIDHandler ¶
func GetByIDHandler(c *fiber.Ctx) error
func GetListHandler ¶
func GetListHandler(c *fiber.Ctx) error
Types ¶
type Histories ¶
type Histories struct { db.Model ID db.NullUUID `json:"id" db:"k.id" gorm:"column:id"` EndPoint db.NullString `json:"end_point" db:"k.end_point" gorm:"column:end_point"` Method db.NullString `json:"method" db:"k.method" gorm:"column:method"` Description db.NullString `json:"description" db:"k.description" gorm:"column:description"` DataID db.NullString `json:"data_id" db:"k.data_id" gorm:"column:data_id"` UserID db.NullString `json:"user.id" db:"k.user_id" gorm:"column:user_id"` UserUsername db.NullString `json:"user.username" db:"u.username" gorm:"-"` UserJobTitle db.NullString `json:"user.jobtitle" db:"u.job_title" gorm:"-"` UserFirstName db.NullString `json:"user.firstname" db:"u.first_name" gorm:"-"` UserLastName db.NullString `json:"user.email" db:"u.last_name" gorm:"-"` UserPhone db.NullString `json:"user.phone" db:"u.phone" gorm:"-"` UserPicture db.NullString `json:"user.picture" db:"u.picture" gorm:"-"` UserStaffPmkId db.NullInt64 `json:"user.staff_pmk_id" db:"u.staff_pmk_id" gorm:"-"` UserEmail db.NullString `json:"user.email" db:"u.email" gorm:"-"` UserLdapUsername db.NullString `json:"user.ldap_username" db:"u.ldap_username" gorm:"-"` OldValue db.NullJSON `json:"old_value" db:"k.old_value~json" gorm:"column:old_value"` NewValue db.NullJSON `json:"new_value" db:"k.new_value~json" gorm:"column:new_value"` CreatedAt db.NullDateTime `json:"created_at" db:"k.created_at" gorm:"column:created_at"` UpdatedAt db.NullDateTime `json:"updated_at" db:"k.updated_at" gorm:"column:updated_at"` }
func (*Histories) SetRelation ¶
func (k *Histories) SetRelation()
func (Histories) TableAliasName ¶
func (Histories) TableVersion ¶
type HistoriesList ¶
Click to show internal directories.
Click to hide internal directories.