Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Writer writer.Writer Name *string `json:"name" yaml:"name"` Engine *string `json:"engine" yaml:"engine"` Database *types.Database `json:"database" yaml:"database"` Source *types.Source `json:"source" yaml:"source"` Gen *types.Gen `json:"gen" yaml:"gen"` }
type SqlxGen ¶
type SqlxGen struct { Connect Connect `json:"-" yaml:"-"` Fd fs.FileDiscovery `json:"-" yaml:"-"` WriterCreator writer.Creator `json:"-" yaml:"-"` Version *string `json:"version" yaml:"version"` ProjectDir *string `json:"projectDir" yaml:"projectDir"` LogArgs *logger.Args `json:"log" yaml:"log"` Configs []Config `json:"configs" yaml:"configs"` }
func NewSqlxGen ¶
func NewSqlxGen(args SqlxGenArgs) (*SqlxGen, error)
func (*SqlxGen) InitLogger ¶
func (gen *SqlxGen) InitLogger()
type SqlxGenArgs ¶
Click to show internal directories.
Click to hide internal directories.