Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Book ¶ added in v0.0.2
type Book struct { web.Model Name string `sql:"not null;unique_index" json:"name"` Title string `sql:"not null;index" json:"title"` Creator string `sql:"not null;index" json:"creator"` Subject string `sql:"not null;index" json:"subject"` Publisher string `sql:"not null;index" json:"publisher"` Version string `sql:"not null;index" json:"version"` Home string `sql:"not null;index" json:"home"` }
Book book model
type DictFm ¶ added in v0.0.2
type DictFm struct {
Keyword string `form:"keyword" binding:"required"`
}
DictFm form for notice
type Engine ¶
type Engine struct { Db *gorm.DB `inject:""` Jwt *platform.Jwt `inject:""` Logger *logging.Logger `inject:""` Cache *web.Cache `inject:""` }
Engine Reading engine
Click to show internal directories.
Click to hide internal directories.