github.com/thlcodes/genfig@v0.3.2-alpha/example/config/env_local.go (about) 1 // Code generated by genfig (config built by merging 'default.yml' and '.env.local'); DO NOT EDIT. 2 3 package config 4 5 func init() { 6 Envs.Local = Config{ 7 Apis: ConfigApis{ 8 Google: ConfigApisGoogle{ 9 Uri: "google.com", 10 }, 11 }, 12 Db: ConfigDb{ 13 Pass: "norris", 14 Uri: "mongdb://localhos:27017/db", 15 User: "chuck", 16 }, 17 EmptyArray: []interface{}(nil), 18 List: []map[string]interface{}{map[string]interface{}{"a": 1, "b": 2}, map[string]interface{}{"a": 3, "b": 4}}, 19 LongDesc: ConfigLongDesc{ 20 De: "Lange Beschreibung", 21 En: "Long description", 22 }, 23 Project: "genfig", 24 Randomizer: ConfigRandomizer{ 25 Threshold: 0.12345, 26 }, 27 Secrets: []string{"ChuckNorriscanwinagameofConnectFourinonlythreemoves"}, 28 Server: ConfigServer{ 29 Host: "localhost", 30 Port: 1212, 31 }, 32 Version: "0.1.0", 33 Wip: true, 34 } 35 }