Documentation ¶ Index ¶ func SQLTypeFor(dialect schema.SQLDialect, fieldType schema.FieldType) string type Generator func NewGenerator(sqlDialect schema.SQLDialect) *Generator func (g *Generator) Generate(entities []schema.Entity, dir string) ([]string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SQLTypeFor ¶ added in v0.0.3 func SQLTypeFor(dialect schema.SQLDialect, fieldType schema.FieldType) string returns the column type used for a field in the given dialect. Types ¶ type Generator ¶ type Generator struct { // contains filtered or unexported fields } func NewGenerator ¶ func NewGenerator(sqlDialect schema.SQLDialect) *Generator func (*Generator) Generate ¶ func (g *Generator) Generate(entities []schema.Entity, dir string) ([]string, error) Source Files ¶ View all Source files dialect.gogenerator.goreserved.go Click to show internal directories. Click to hide internal directories.