This commit is contained in:
@@ -9,10 +9,11 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
CfgFile string
|
||||
Verbose int
|
||||
Overwrite bool
|
||||
Config CliConfig
|
||||
CfgFile string
|
||||
Verbose int
|
||||
Overwrite bool
|
||||
ServerName string
|
||||
Config CliConfig
|
||||
)
|
||||
|
||||
type Server struct {
|
||||
@@ -22,7 +23,8 @@ type Server struct {
|
||||
}
|
||||
|
||||
type CliConfig struct {
|
||||
Server map[string]Server `mapstructure:"server"`
|
||||
ApiVersion string
|
||||
Server map[string]Server `mapstructure:"server"`
|
||||
}
|
||||
|
||||
func InitCliConfig() {
|
||||
|
||||
Reference in New Issue
Block a user