AddSQLNullBoolKey adds a string to be encoded, must be used inside an object as it will encode a key
(key string, v *sql.NullBool)
| 317 | |
| 318 | // AddSQLNullBoolKey adds a string to be encoded, must be used inside an object as it will encode a key |
| 319 | func (enc *Encoder) AddSQLNullBoolKey(key string, v *sql.NullBool) { |
| 320 | enc.BoolKey(key, v.Bool) |
| 321 | } |
| 322 | |
| 323 | // AddSQLNullBoolKeyOmitEmpty adds a string to be encoded or skips it if it is zero value. |
| 324 | // Must be used inside an object as it will encode a key |