String returns a string representation of the Config file.
()
| 413 | |
| 414 | // String returns a string representation of the Config file. |
| 415 | func (c Config) String() string { |
| 416 | return marshal(c).String() |
| 417 | } |
| 418 | |
| 419 | func (c Config) MarshalText() ([]byte, error) { |
| 420 | return marshal(c).Bytes(), nil |