Documentation ¶
Index ¶
Constants ¶
View Source
const TableNameDetail = "detail"
View Source
const TableNamePlugin = "plugin"
View Source
const TableNameUser = "user"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Detail ¶
type Detail struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` PluginID string `gorm:"column:plugin_id;not null;default:0" json:"plugin_id"` PluginName string `gorm:"column:plugin_name;not null" json:"plugin_name"` Version string `gorm:"column:version;not null" json:"version"` Homepage string `gorm:"column:homepage;not null" json:"homepage"` ShortDescription string `gorm:"column:shortDescription;not null" json:"shortDescription"` Description string `gorm:"column:description;not null" json:"description"` Caveats string `gorm:"column:caveats;not null" json:"caveats"` Platforms sqlx.StringSlice `gorm:"column:platforms;not null" json:"platforms"` CreatedAt time.Time `gorm:"column:created_at" json:"created_at"` UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"` }
Detail mapped from table <detail>
type Plugin ¶
type Plugin struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` PluginID string `gorm:"column:plugin_id;not null;default:0" json:"plugin_id"` PluginName string `gorm:"column:plugin_name;not null" json:"plugin_name"` LatestVersion string `gorm:"column:latest_version;not null" json:"latest_version"` CreatedAt time.Time `gorm:"column:created_at" json:"created_at"` UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"` }
Plugin mapped from table <plugin>
type User ¶
type User struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` Username string `gorm:"column:username;not null" json:"username"` Password string `gorm:"column:password;not null" json:"password"` CreatedAt time.Time `gorm:"column:created_at" json:"created_at"` UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"` }
User mapped from table <user>
Click to show internal directories.
Click to hide internal directories.