Documentation ¶
Overview ¶
命令行程序支持组件 此组件需要使用 xconsole.Listen() 来运行命令监听,即:
if len(os.Args) > 1 { xconsole.Listen() return }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Version string // 外部版本标识 Rout map[string]Command // 注入时直接携带路由进行注入 // contains filtered or unexported fields }
配置项
type Field ¶ added in v0.1.23
type Field struct { Field string `gorm:"column:Field"` Type string `gorm:"column:Type"` Null string `gorm:"column:Null"` Key string `gorm:"column:Key"` Default string `gorm:"column:Default"` Extra string `gorm:"column:Extra"` Privileges string `gorm:"column:Privileges"` Comment string `gorm:"column:Comment"` }
表字段
Click to show internal directories.
Click to hide internal directories.