Versions in this module Expand all Collapse all v0 v0.0.2 Mar 15, 2022 Changes in this version + func ConfigureAcronym(words []string) + func GetCreateTableFromDB(dsn, tableName string) (string, error) type ModelCodes + func ParseSqlFromDB(dsn, tableName string, options ...Option) (ModelCodes, error) type Option + func WithForceTableName() Option + func WithGormType() Option v0.0.1 Mar 6, 2020 Changes in this version + func ParseSqlToWrite(sql string, writer io.Writer, options ...Option) error + type ModelCodes struct + ImportPath []string + Package string + StructCode []string + func ParseSql(sql string, options ...Option) (ModelCodes, error) + type NullStyle int + const NullDisable + const NullInPointer + const NullInSql + type Option func(*options) + func WithCharset(charset string) Option + func WithCollation(collation string) Option + func WithColumnPrefix(p string) Option + func WithJsonTag() Option + func WithNoNullType() Option + func WithNullStyle(s NullStyle) Option + func WithPackage(pkg string) Option + func WithTablePrefix(p string) Option