github.com/thlcodes/genfig@v0.3.2-alpha/example/config/env_test_.go (about) 1 // Code generated by genfig (config built by merging 'default.yml' and 'test.json'); DO NOT EDIT. 2 3 package config 4 5 func init() { 6 Envs.Test = Config{ 7 Apis: ConfigApis{ 8 Google: ConfigApisGoogle{ 9 Uri: "google.com", 10 }, 11 }, 12 Db: ConfigDb{ 13 Pass: "", 14 Uri: "mongdb://localhos:27017/db", 15 User: "", 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.75, 26 }, 27 Secrets: []string{""}, 28 Server: ConfigServer{ 29 Host: "localhost", 30 Port: 1234, 31 }, 32 Version: "1-test", 33 Wip: true, 34 } 35 }