SQLNullInt64Key adds a string to be encoded, must be used inside an object as it will encode a key
(key string, v *sql.NullInt64)
| 169 | |
| 170 | // SQLNullInt64Key adds a string to be encoded, must be used inside an object as it will encode a key |
| 171 | func (enc *Encoder) SQLNullInt64Key(key string, v *sql.NullInt64) { |
| 172 | enc.Int64Key(key, v.Int64) |
| 173 | } |
| 174 | |
| 175 | // SQLNullInt64KeyOmitEmpty adds a string to be encoded or skips it if it is zero value. |
| 176 | // Must be used inside an object as it will encode a key |