Documentation ¶ Index ¶ Variables func G(dbTpe, dsn, outputDir, relationYaml string, opts ...gen.ModelOpt) (*gen.Generator, *gorm.DB)deprecated func G2(outputDir, relationYaml string, opts ...gen.ModelOpt) (*gen.Generator, *gorm.DB) Constants ¶ This section is empty. Variables ¶ View Source var FieldOpts = []gen.ModelOpt{autoCreateTimeField, autoUpdateTimeField, softDeleteField} Functions ¶ func G deprecated func G(dbTpe, dsn, outputDir, relationYaml string, opts ...gen.ModelOpt) (*gen.Generator, *gorm.DB) Deprecated: use G2 func G2 ¶ func G2(outputDir, relationYaml string, opts ...gen.ModelOpt) (*gen.Generator, *gorm.DB) Types ¶ This section is empty. Source Files ¶ View all Source files generate.go generate_interface.go Click to show internal directories. Click to hide internal directories.