Documentation ¶
Index ¶
- Variables
- func AddPath(path, title, keywords, description string, mode string, parse bool, ...) (err error)
- func Close()
- func Display() string
- func GetName() string
- func GetPath(path string) (context []byte, mode string, err error)
- func Open(v string) (err error)
- func SetName(v string)
- type Command
- type Page
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DB *gorm.DB Lock sync.Mutex )
Functions ¶
Types ¶
type Command ¶
func GetCommands ¶
type Page ¶
type Page struct { gorm.Model Path string `gorm:"not null;index;type:VARCHAR(200)"` Title string `gorm:"index;type:VARCHAR(200)"` KeyWords string `gorm:"type:VARCHAR(200)"` Description string `gorm:"type:VARCHAR(500)"` Mode string `gorm:"index;type:VARCHAR(50)"` Parse bool `gorm:"index"` Data []byte `gorm:"type:BLOB"` }
func GetAllPath ¶
Click to show internal directories.
Click to hide internal directories.