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

     1  // Code generated by genfig (schema built from 'default.yml') on 2019-07-24T22:16:50+02:00; DO NOT EDIT.
     2  
     3  package config
     4  
     5  type Config struct {
     6  	Server     ConfigServer
     7  	Secrets    []string
     8  	Apis       ConfigApis
     9  	LongDesc   ConfigLongDesc
    10  	Wip        bool
    11  	Version    string
    12  	Project    string
    13  	Db         ConfigDb
    14  	Randomizer ConfigRandomizer
    15  	_map       map[string]interface{}
    16  }
    17  
    18  type ConfigApis struct {
    19  	Google ConfigApisGoogle
    20  }
    21  
    22  type ConfigApisGoogle struct {
    23  	Uri string
    24  }
    25  
    26  type ConfigDb struct {
    27  	User string
    28  	Pass string
    29  	Uri  string
    30  }
    31  
    32  type ConfigLongDesc struct {
    33  	En string
    34  	De string
    35  }
    36  
    37  type ConfigRandomizer struct {
    38  	Threshold float64
    39  }
    40  
    41  type ConfigServer struct {
    42  	Port int64
    43  	Host string
    44  }