Versions in this module Expand all Collapse all v0 v0.2.4 Jun 7, 2026 Changes in this version + const PluginName + type Argument struct + Column *Column + func (x *Argument) String() string + type ArgumentCondition struct + Argument *Argument + Column *Column + func (x *ArgumentCondition) String() string + type Attributes struct + Charset string + Collate string + Comment string + type Catalog struct + Schemas []Schema + func LoadCatalog(path string) (*Catalog, error) + func (x *Catalog) GetTable(name string) *Table + type Codegen struct + Options CodegenOptions + Out string + Plugin string + type CodegenOptions struct + Exclude []string + Queries []string + type Column struct + Name string + Null bool + Type string + type ColumnCondition struct + Left *ColumnRef + Right *ColumnRef + func (x *ColumnCondition) String() string + type ColumnRef struct + Name string + Table *Table + func (x *ColumnRef) String() string + type CompositeCondition struct + Conditions []fmt.Stringer + Operator string + func (x *CompositeCondition) AddColumn(column *Column) + func (x *CompositeCondition) AddColumnRef(left, right *ColumnRef) + func (x *CompositeCondition) String() string + type Config struct + SQL []SQL + Version string + func LoadConfig(path string) (*Config, error) + type ForeignKey struct + Columns []string + Name string + References struct{ ... } + type Generator struct + Catalog *Catalog + Config *Config + func (x *Generator) Generate() error + type Index struct + Name string + Parts []IndexPart + Unique bool + func (x *Index) HasExpr() bool + type IndexPart struct + Column string + Desc bool + Expr string + type SQL struct + Codegen []Codegen + Engine string + Queries string + Schema string + func (s *SQL) GetExcludeSet() map[string]bool + func (s *SQL) GetOptions() CodegenOptions + func (s *SQL) GetQueriesSet() map[string]bool + type Schema struct + Name string + Tables []Table + type Table struct + Columns []Column + ForeignKeys []ForeignKey + Indexes []Index + Name string + PrimaryKey *Index + func (x *Table) GetColumn(name string) *Column + func (x *Table) GetNonPrimaryKeyColumns() []Column + func (x *Table) GetNonUniqueIndexes() []*Index + func (x *Table) GetUniqueKeys() []*Index + func (x *Table) IsForeignKeyIndex(index *Index) bool v0.2.4-ragokan.1 Jun 7, 2026