sqlboiler/config.go
Patrick O'brien 1c8a9d2e39 Add schema feature to everything (except rels)
* Add strmangle SchemaTable helper
2016-09-09 07:23:10 +10:00

29 lines
577 B
Go

package main
// Config for the running of the commands
type Config struct {
DriverName string
Schema string
PkgName string
OutFolder string
BaseDir string
WhitelistTables []string
ExcludeTables []string
Tags []string
Debug bool
NoTests bool
NoHooks bool
NoAutoTimestamps bool
Postgres PostgresConfig
}
// PostgresConfig configures a postgres database
type PostgresConfig struct {
User string
Pass string
Host string
Port int
DBName string
SSLMode string
}