Versions in this module Expand all Collapse all v1 v1.1.1 Jan 4, 2021 Changes in this version type TableInfo + TagLen int v1.1.0 Mar 18, 2020 Changes in this version + func GetParams(cmds []string, i int) (string, error) + type Attr struct + Comment string + Field string + StructField string + Type string + type Generator struct + func NewGenerator(db *gosql.DB) *Generator + func (g *Generator) Exec(query string) ([]map[string]interface{}, error) + func (g *Generator) ShowStruct(table string, tags []string) ([]byte, error) + func (g *Generator) ShowTable(datas []map[string]interface{}, start time.Time) + type TableInfo struct + Columns []*Attr + Database string + ExistTime bool + Len int + OtherTags []string + PrimaryKey string + ShortName string + StructName string + TableName string