EncodeDuration encodes a duration in the format of EncodedValue.Value.
(d time.Duration)
| 26 | |
| 27 | // EncodeDuration encodes a duration in the format of EncodedValue.Value. |
| 28 | func EncodeDuration(d time.Duration) string { |
| 29 | return d.String() |
| 30 | } |
| 31 | |
| 32 | // EncodeBool encodes a bool in the format of EncodedValue.Value. |
| 33 | func EncodeBool(b bool) string { |
no test coverage detected
searching dependent graphs…