Versions in this module Expand all Collapse all v1 v1.0.9 Oct 6, 2022 v1.0.8 Oct 6, 2022 Changes in this version + type Column struct + Comment string + DataType string + Extra string + IsNullAble string + Name string + type Field struct + Comment string + DataType string + Name string + type Index struct + IndexName string + NonUnique int + SeqInIndex int + type Pattern map[string]struct + func ParseTableList(tableValue string) Pattern + func (p Pattern) Match(s string) bool + type SchemaModel interface + GetAllTables func() ([]string, error) + GetColumns func(table string) (*Table, error) + GetIndex func(table, column string) ([]*Index, error) + type Table struct + Columns []Column + Db string + NormalIndex map[string][]*Column + PrimaryKey *Column + Table string + UniqueIndex map[string][]*Column Other modules containing this package github.com/cocoup/go-smart