EncodedDefault returns the encoded value of the default value of the setting.
()
| 45 | |
| 46 | // EncodedDefault returns the encoded value of the default value of the setting. |
| 47 | func (f *FloatSetting) EncodedDefault() string { |
| 48 | return EncodeFloat(f.defaultValue) |
| 49 | } |
| 50 | |
| 51 | // DecodeToString decodes and renders an encoded value. |
| 52 | func (f *FloatSetting) DecodeToString(encoded string) (string, error) { |
nothing calls this directly
no test coverage detected