Documentation ¶
Index ¶
- func Run(config *Config) error
- type Config
- func (Output *Config) BasePath(t string) *Config
- func (Output *Config) Database(t string) *Config
- func (Output *Config) EnableDebug(t bool) *Config
- func (Output *Config) EnableGoTidy(t bool) *Config
- func (Output *Config) EnableJsonTag(t bool) *Config
- func (Output *Config) GinPackageName(t string) *Config
- func (Output *Config) Host(t string) *Config
- func (Output *Config) OrmPackageName(t string) *Config
- func (Output *Config) Password(t string) *Config
- func (Output *Config) Port(t int) *Config
- func (Output *Config) RealTableNameMethod(t string) *Config
- func (Output *Config) SqlPackageName(t string) *Config
- func (Output *Config) Table(t string) *Config
- func (Output *Config) TableFilterHook(t func(string) bool) *Config
- func (Output *Config) TagKey(t string) *Config
- func (Output *Config) Username(t string) *Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func DefaultConfig ¶
func (*Config) EnableDebug ¶
func (*Config) EnableGoTidy ¶
func (*Config) EnableJsonTag ¶
func (*Config) GinPackageName ¶
func (*Config) OrmPackageName ¶
func (*Config) RealTableNameMethod ¶
func (*Config) SqlPackageName ¶
Click to show internal directories.
Click to hide internal directories.