AddSQLNullInt64Key adds a string to be encoded, must be used inside an object as it will encode a key
(key string, v *sql.NullInt64)
| 129 | |
| 130 | // AddSQLNullInt64Key adds a string to be encoded, must be used inside an object as it will encode a key |
| 131 | func (enc *Encoder) AddSQLNullInt64Key(key string, v *sql.NullInt64) { |
| 132 | enc.Int64Key(key, v.Int64) |
| 133 | } |
| 134 | |
| 135 | // AddSQLNullInt64KeyOmitEmpty adds a string to be encoded or skips it if it is zero value. |
| 136 | // Must be used inside an object as it will encode a key |