sqlboiler/config.go

28 lines
525 B
Go
Raw Normal View History

package main
// Config for the running of the commands
type Config struct {
DriverName string
PkgName string
OutFolder string
BaseDir string
ExcludeTables []string
2016-09-04 15:44:54 +02:00
Tags []string
2016-09-04 12:27:19 +02:00
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
}