SQLNullFloat64Key adds a string to be encoded, must be used inside an object as it will encode a key
(key string, v *sql.NullFloat64)
| 267 | |
| 268 | // SQLNullFloat64Key adds a string to be encoded, must be used inside an object as it will encode a key |
| 269 | func (enc *Encoder) SQLNullFloat64Key(key string, v *sql.NullFloat64) { |
| 270 | enc.Float64Key(key, v.Float64) |
| 271 | } |
| 272 | |
| 273 | // SQLNullFloat64KeyOmitEmpty adds a string to be encoded or skips it if it is zero value. |
| 274 | // Must be used inside an object as it will encode a key |