Documentation ¶
Overview ¶
* @Author: SpenserCai * @Date: 2023-08-31 00:44:10 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-10-04 12:38:53 * @Description: file content
* @Author: SpenserCai * @Date: 2023-08-31 00:33:12 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-08-31 00:44:44 * @Description: file content
* @Author: SpenserCai * @Date: 2023-08-31 00:08:39 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-08-31 11:50:00 * @Description: file content
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type History ¶ added in v0.8.4
type History struct { MessageID string `gorm:"column:message_id;size:100;index:idx_message;index:idx_message_id"` UserID string `gorm:"column:user_id;size:100;index:idx_message"` CommandName string `gorm:"column:command_name;size:50"` OptionJson string `gorm:"column:option_json;size:0"` Images string `gorm:"column:images;size:0"` Created string `gorm:"column:created;size:50"` Deleted bool `gorm:"column:deleted;default:false"` }
type UserInfo ¶
type UserInfo struct { ID string `gorm:"column:id;primaryKey;size:100;index:idx_user,unique"` Name string `gorm:"column:name;size:50"` Avatar string `gorm:"column:avatar;size:0"` Created string `gorm:"column:created;size:50"` Enable bool `gorm:"column:enable"` Roles string `gorm:"column:roles;size:0"` StableConfig string `gorm:"column:stable_config;size:0"` }
索引为id字段
Click to show internal directories.
Click to hide internal directories.