SQLNullFloat64 adds a string to be encoded, must be used inside an object as it will encode a key
(v *sql.NullFloat64)
| 248 | |
| 249 | // SQLNullFloat64 adds a string to be encoded, must be used inside an object as it will encode a key |
| 250 | func (enc *Encoder) SQLNullFloat64(v *sql.NullFloat64) { |
| 251 | enc.Float64(v.Float64) |
| 252 | } |
| 253 | |
| 254 | // SQLNullFloat64OmitEmpty adds a string to be encoded, must be used inside an object as it will encode a key |
| 255 | func (enc *Encoder) SQLNullFloat64OmitEmpty(v *sql.NullFloat64) { |