Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunPostgres ¶
Types ¶
type Config ¶
type Config struct {
helpers.Config `yaml:",squash"`
// What dialect to generate with
// psql | mysql | sqlite
Dialect string
// Glob pattern to match migration files
Pattern string
// The database schemas to generate models for
Schemas []string
// a context value can then be used to set the schema at runtime
// useful for multi-tenant setups
SharedSchema string `yaml:"shared_schema"`
// How many tables to fetch in parallel
Concurrency int
// Which UUID package to use (gofrs or google)
UUIDPkg string `yaml:"uuid_pkg"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.