Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Validate validate
Validate 全局的验证变量,使用初始化形式,防止被外部修改
Functions ¶
This section is empty.
Types ¶
type LowerCaseMapper ¶
type LowerCaseMapper struct{}
LowerCaseMapper 实现Xorm的core.IMapper接口,实现自定义表名和结构体之间的映射
func (LowerCaseMapper) Obj2Table ¶
func (m LowerCaseMapper) Obj2Table(o string) string
Obj2Table 实现 core.IMapper 接口的方法
func (LowerCaseMapper) Table2Obj ¶
func (m LowerCaseMapper) Table2Obj(t string) string
Table2Obj 实现 core.IMapper 接口的方法
Click to show internal directories.
Click to hide internal directories.