sqlboiler/config.go
2016-09-04 23:44:54 +10:00

27 lines
525 B
Go

package main
// Config for the running of the commands
type Config struct {
DriverName string
PkgName string
OutFolder string
BaseDir 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
}