Fix some problems with viper setup.
- Fix error reporting throughout the executable side of the project.
This commit is contained in:
parent
e0f461014b
commit
57e20dfd72
4 changed files with 49 additions and 55 deletions
|
@ -2,10 +2,10 @@ package main
|
|||
|
||||
// Config for the running of the commands
|
||||
type Config struct {
|
||||
DriverName string `toml:"driver_name"`
|
||||
PkgName string `toml:"pkg_name"`
|
||||
OutFolder string `toml:"out_folder"`
|
||||
TableName string `toml:"table_name"`
|
||||
DriverName string `toml:"driver_name"`
|
||||
PkgName string `toml:"pkg_name"`
|
||||
OutFolder string `toml:"out_folder"`
|
||||
TableNames []string `toml:"table_names"`
|
||||
|
||||
Postgres PostgresConfig `toml:"postgres"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue