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

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