Versions in this module Expand all Collapse all v1 v1.0.1 Feb 8, 2024 v1.0.0 Feb 8, 2024 Changes in this version + const CodeTypeDAO + const CodeTypeHandler + const CodeTypeJSON + const CodeTypeModel + const CodeTypeProto + const CodeTypeService + const TableName + func GetTableInfo(dsn, tableName string) (string, error) + func ParseSQL(sql string, options ...Option) (map[string]string, error) + type Codes struct + HandlerStruct []string + Model []string + ModelJSON []string + UpdateFields []string + 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 WithEmbed() Option + func WithForceTableName() Option + func WithGormType() Option + func WithJSONTag(namedType int) Option + func WithNoNullType() Option + func WithNullStyle(s NullStyle) Option + func WithPackage(pkg string) Option + func WithTablePrefix(p string) Option + func WithWebProto() Option