sqlboiler/config.go
Patrick O'brien 4b1c934751 Remove pointers to L, not needed
* Add no-tests flag
2016-09-02 11:22:56 +10:00

26 lines
475 B
Go

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