Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct { ID uint64 `gorm:"column:id;primary_key" json:"id"` CreatedAt time.Time `gorm:"column:created_at;type:datetime;not null" json:"createdAt" jsonapi:"attr,updatedAt,iso8601"` UpdatedAt time.Time `gorm:"column:updated_at;type:datetime;not null" json:"updatedAt" jsonapi:"attr,updatedAt,iso8601"` LinkPermanent string `gorm:"-" json:"linkPermanent"` }
type Handler ¶
type Route ¶
type Route struct { ID uint `gorm:"primaryKey;column:id;type:int(11);not null" json:"-"` Path string Type string Handler *Handler CreatedAt time.Time `gorm:"column:createdAt;type:datetime;not null" json:"createdAt"` UpdatedAt time.Time `gorm:"column:updatedAt;type:datetime;not null" json:"updatedAt"` }
Click to show internal directories.
Click to hide internal directories.