Moved verbose to flag.

This commit is contained in:
sm
2013-12-20 23:35:24 -08:00
parent 3d873f48f1
commit f29d9f7e5e
2 changed files with 11 additions and 9 deletions
+7 -9
View File
@@ -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,
}
}