Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB_TAG = func(col *core.Column) string { return fmt.Sprintf("db:\"%s\"", col.Name) }
View Source
var FORM_TAG = func(col *core.Column) string { return fmt.Sprintf("form:\"%s\"", yutil.String.LittleCamelCase(col.Name)) }
View Source
var GORM_CURD_FUNC = func(tab *core.Table) string {
return yutil.String.TemplateParse(g, yutil.String.BigCamelCase(tab.Name))
}
Functions ¶
This section is empty.
Types ¶
type Gen ¶
type Gen struct {
// contains filtered or unexported fields
}
func (*Gen) AddFuncHandlers ¶
func (*Gen) AddTagHandlers ¶
Click to show internal directories.
Click to hide internal directories.