Versions in this module Expand all Collapse all v1 v1.0.0 Aug 5, 2020 Changes in this version + func Generate(out string, jsonTag bool, tables []*entry.Table, queries []*entry.Query) (err error) + type GenerateFile struct + Content []byte + Name string + type GenerateQueryData struct + Exec bool + Imports map[string]string + IsTable bool + LowName string + Name string + Package string + QuerySQL string + RawName string + RequestFields []*QueryField + ResultFields []*QueryField + Table *entry.Table + type GenerateTableData struct + DeleteSQL string + Fields []*TableField + GetSQL string + HasAutoIncrId bool + Imports map[string]string + InsertSQL string + LowName string + Name string + Package string + RawName string + UpdateSQL string + type QueryField struct + Name string + ReplaceKey string + Replaced bool + Tags string + Type string + type TableField struct + AutoIncr bool + Name string + Pk bool + Tags string + Type string + type TemplateData struct + Imports map[string]string + Package string