AddSQLNullFloat64 adds a string to be encoded, must be used inside a slice or array encoding (does not encode a key)
(v *sql.NullFloat64)
| 206 | |
| 207 | // AddSQLNullFloat64 adds a string to be encoded, must be used inside a slice or array encoding (does not encode a key) |
| 208 | func (enc *Encoder) AddSQLNullFloat64(v *sql.NullFloat64) { |
| 209 | enc.Float64(v.Float64) |
| 210 | } |
| 211 | |
| 212 | // AddSQLNullFloat64OmitEmpty adds a string to be encoded or skips it if it is zero value. |
| 213 | // Must be used inside a slice or array encoding (does not encode a key) |