caf4cb97aa
- function variations, query mods, query building sections - remove useless toml tags
24 lines
452 B
Go
24 lines
452 B
Go
package main
|
|
|
|
// Config for the running of the commands
|
|
type Config struct {
|
|
DriverName string
|
|
PkgName string
|
|
OutFolder string
|
|
BaseDir string
|
|
ExcludeTables []string
|
|
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
|
|
}
|