SQLNullBoolKey adds a string to be encoded, must be used inside an object as it will encode a key
(key string, v *sql.NullBool)
| 357 | |
| 358 | // SQLNullBoolKey adds a string to be encoded, must be used inside an object as it will encode a key |
| 359 | func (enc *Encoder) SQLNullBoolKey(key string, v *sql.NullBool) { |
| 360 | enc.BoolKey(key, v.Bool) |
| 361 | } |
| 362 | |
| 363 | // SQLNullBoolKeyOmitEmpty adds a string to be encoded or skips it if it is zero value. |
| 364 | // Must be used inside an object as it will encode a key |