func NewConfig() (*Config, error) {
	conf := &Config{}

	if err := envconfig.Process("", conf); err != nil {
		return nil, err
	}

	return conf, nil
}
// NewConfig get configuration struct.
NewConfig get configuration struct.
// NewConfig get configuration struct .
func NewConfig() (*Config, error) {
	conf := &Config{}
	if err := envconfig.Process("", conf); err != nil {
		return nil, err
	}
	return conf, nil
}
func NewConfig ( ) ( * Config , error ) { conf := & Config { } if err := envconfig . Process ( " " , conf ) ; err != nil { return nil , err } return conf , nil }
NewConfig get configuration struct.
NewConfig get configuration struct .