Versions in this module Expand all Collapse all v0 v0.1.0 Jul 25, 2024 Changes in this version + type CacheDefTmpl struct + func (t *CacheDefTmpl) Render() string + func (t *CacheDefTmpl) RenderLocal() string + func (t *CacheDefTmpl) RenderRedis() string + func (t *CacheDefTmpl) RenderSerial() string + type CreateStmt struct + Name string + OrigStmt string + StmtName string + type CurdDefTmpl struct + Fields Fields + Indexes []Index + Name string + TabName string + func (t *CurdDefTmpl) Render() string + type Field struct + ColName string + Comment string + Name string + Type string + ZeroVal string + type Fields []Field + func (a *Fields) Find(name string) (Field, error) + type Index struct + Cols Fields + Uniq bool + type MgrDefTmpl struct + Stmts []CreateStmt + func (t *MgrDefTmpl) Render() string + func (t *MgrDefTmpl) RenderSQL() string + type ModelDefTmpl struct + Fields Fields + Imports map[string]struct{} + Name string + func (t *ModelDefTmpl) Render() string