SQLNullInt64 adds a string to be encoded, must be used inside an object as it will encode a key
(v *sql.NullInt64)
| 150 | |
| 151 | // SQLNullInt64 adds a string to be encoded, must be used inside an object as it will encode a key |
| 152 | func (enc *Encoder) SQLNullInt64(v *sql.NullInt64) { |
| 153 | enc.Int64(v.Int64) |
| 154 | } |
| 155 | |
| 156 | // SQLNullInt64OmitEmpty adds a string to be encoded, must be used inside an object as it will encode a key |
| 157 | func (enc *Encoder) SQLNullInt64OmitEmpty(v *sql.NullInt64) { |