Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // What dialect to generate with // psql | mysql | sqlite Dialect string // Where the hcl files are Dir string // a context value can then be used to set the schema at runtime // useful for multi-tenant setups SharedSchema string `yaml:"shared_schema"` // List of tables that will be included. Others are ignored Only map[string][]string // List of tables that will be should be ignored. Others are included Except map[string][]string // Which UUID package to use (gofrs or google) UUIDPkg string `yaml:"uuid_pkg"` Output string Pkgname string NoFactory bool `yaml:"no_factory"` }
Click to show internal directories.
Click to hide internal directories.