Moved verbose to flag.
This commit is contained in:
@@ -5,19 +5,17 @@ import (
|
||||
)
|
||||
|
||||
type Configs struct {
|
||||
Verbose bool
|
||||
Dbhost string
|
||||
Dbname string
|
||||
Dbport int
|
||||
Port int
|
||||
Dbhost string
|
||||
Dbname string
|
||||
Dbport int
|
||||
Port int
|
||||
}
|
||||
|
||||
func NewConfig() *Configs {
|
||||
return &Configs{
|
||||
Verbose: true,
|
||||
Dbname: "itslog",
|
||||
Dbport: 5432,
|
||||
Port: 80,
|
||||
Dbname: "itslog",
|
||||
Dbport: 5432,
|
||||
Port: 80,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user