AddFloat32Key adds a float32 to be encoded, must be used inside an object as it will encode a key
(key string, v float32)
| 288 | |
| 289 | // AddFloat32Key adds a float32 to be encoded, must be used inside an object as it will encode a key |
| 290 | func (enc *Encoder) AddFloat32Key(key string, v float32) { |
| 291 | enc.Float32Key(key, v) |
| 292 | } |
| 293 | |
| 294 | // AddFloat32KeyOmitEmpty adds a float64 to be encoded and skips it if its value is 0. |
| 295 | // Must be used inside an object as it will encode a key |