Documentation
¶
Index ¶
- func BuildVersion() string
- func InitFlagSetForConfig(s *pflag.FlagSet, cc *Config)
- func LoadDriver(URL string) (driver.Driver, error)
- func NewGithubClient(accessToken string) *github.Client
- func NewSqlite3(string) gorm.Dialector
- func WriteFile(filename string, data []byte) error
- type Config
- type RootCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildVersion ¶
func BuildVersion() string
func InitFlagSetForConfig ¶
func NewGithubClient ¶
func NewSqlite3 ¶
Types ¶
type Config ¶
type Config struct { ens.Option DisableCommentTag bool `yaml:"disableCommentTag" json:"disableCommentTag"` // 禁用注释放入tag标签中 HasColumn bool `yaml:"hasColumn" json:"hasColumn"` // 是否输出字段 SkipColumns []string `yaml:"skipColumns" json:"skipColumns"` // 忽略输出字段, 格式 table.column Package string `yaml:"package" json:"package"` // 包名 Options map[string]string `yaml:"options" json:"options"` // 选项 DisableDocComment bool `yaml:"disable_doc_comment" json:"disable_doc_comment"` // 禁用文档注释 }
Click to show internal directories.
Click to hide internal directories.