Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
Host *string `json:"host" yaml:"host"`
Port *string `json:"port" yaml:"port"`
Db *string `json:"db" yaml:"db"`
User *string `json:"user" yaml:"user"`
Password *string `json:"password" yaml:"password"`
SslMode *string `json:"sslmode" yaml:"sslmode"`
Url *string `json:"url" yaml:"url"`
}
type Gen ¶
type Gen struct {
Store *GenPartial `json:"store" yaml:"store"`
Model *GenPartial `json:"models" yaml:"models"`
}
type GenPartial ¶
type GenPartial struct {
Path string `json:"path" yaml:"path"`
}
func (*GenPartial) Merge ¶
func (g *GenPartial) Merge(other *GenPartial) *GenPartial
func (*GenPartial) String ¶
func (g *GenPartial) String() string
type Model ¶
type Option ¶ added in v1.0.3
type Option struct {
MysqlModelBanner *string `json:"mysqlModelBanner" yaml:"mysqlModelBanner"`
PostgresModelBanner *string `json:"postgresModelBanner" yaml:"postgresModelBanner"`
PostgresInt64JsonString *bool `json:"postgresInt64JsonString,string" yaml:"postgresInt64JsonString"`
CreatedDateFields *string `json:"createdDateFields" yaml:"createdDateFields"`
UpdatedDateFields *string `json:"updatedDateFields" yaml:"updatedDateFields"`
}
Click to show internal directories.
Click to hide internal directories.