github.com/theliebeskind/genfig@v0.1.5-alpha/example/config/env_local.go (about)

     1  // Code generated by genfig (config built by merging 'default.yml' and '.env.local') on 2019-07-24T22:16:50+02:00; DO NOT EDIT.
     2  
     3  package config
     4  
     5  func init() {
     6  	Envs.Local = Config{
     7  		Server: ConfigServer{
     8  			Port: 1212,
     9  			Host: "localhost",
    10  		},
    11  		Secrets: []string{"ChuckNorriscanwinagameofConnectFourinonlythreemoves"},
    12  		Apis: ConfigApis{
    13  			Google: ConfigApisGoogle{
    14  				Uri: "google.com",
    15  			},
    16  		},
    17  		LongDesc: ConfigLongDesc{
    18  			En: "Long description",
    19  			De: "Lange Beschreibung",
    20  		},
    21  		Wip:     true,
    22  		Version: "0.1.0",
    23  		Project: "genfig",
    24  		Db: ConfigDb{
    25  			User: "chuck",
    26  			Pass: "norris",
    27  			Uri:  "mongdb://localhos:27017/db",
    28  		},
    29  		Randomizer: ConfigRandomizer{
    30  			Threshold: 0.12345,
    31  		},
    32  	}
    33  	Envs.Local._map = map[string]interface{}{"apis": map[interface{}]interface{}{"google": map[interface{}]interface{}{"uri": "google.com"}}, "db": map[interface{}]interface{}{"pass": "norris", "uri": "mongdb://localhos:27017/db", "user": "chuck"}, "longDesc": map[interface{}]interface{}{"de": "Lange Beschreibung", "en": "Long description"}, "project": "genfig", "randomizer": map[interface{}]interface{}{"threshold": 0.12345}, "secrets": []interface{}{"ChuckNorriscanwinagameofConnectFourinonlythreemoves"}, "server": map[interface{}]interface{}{"host": "localhost", "port": 1212}, "version": "0.1.0", "wip": true}
    34  }