DefaultString returns the default value for the setting as a string.
()
| 47 | |
| 48 | // DefaultString returns the default value for the setting as a string. |
| 49 | func (d *DurationSetting) DefaultString() string { |
| 50 | return EncodeDuration(d.defaultValue) |
| 51 | } |
| 52 | |
| 53 | // Encoded returns the encoded value of the current value of the setting. |
| 54 | func (d *DurationSetting) Encoded(sv *Values) string { |
nothing calls this directly
no test coverage detected