package cnf /** DEPRECATED: Read config file from dist. use viper which support many types of configure files. */ //import ( // "github.com/spf13/viper" //) // //func Load(file string) error { // v := viper.New(); // v.AddConfigPath(".") // v.SetConfigType("json") // v.SetConfigFile(file) // err := v.ReadInConfig() // if err != nil { // return err // } // return nil //}