Bool handles encoding of boolean values to numeric format.
(b bool)
| 144 | |
| 145 | // Bool handles encoding of boolean values to numeric format. |
| 146 | func (m *ValueEncoder) Bool(b bool) string { |
| 147 | if b { |
| 148 | return valueTrue |
| 149 | } |
| 150 | return valueFalse |
| 151 | } |
| 152 | |
| 153 | // Float64 handles encoding of 64bit float values according to the ValueEncoder configuration. |
| 154 | func (m *ValueEncoder) Float64(field string, val float64) string { |