()
| 164 | } |
| 165 | |
| 166 | func (o *Setting) Print() { |
| 167 | if o.Type == SettingTypeBool { |
| 168 | v, _ := ParseBool(o.Value) |
| 169 | fmt.Printf("%v: %v\n", o.EnvVariable, v) |
| 170 | } else { |
| 171 | fmt.Printf("%v: %v\n", o.EnvVariable, o.Value) |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | func (o *Setting) FillEnvFileContent(buffer *bytes.Buffer) { |
| 176 | if o.IsDefined() { |