Scan implements the Scanner interface.
(value interface{})
| 2396 | |
| 2397 | // Scan implements the Scanner interface. |
| 2398 | func (ns *NullNotificationMethod) Scan(value interface{}) error { |
| 2399 | if value == nil { |
| 2400 | ns.NotificationMethod, ns.Valid = "", false |
| 2401 | return nil |
| 2402 | } |
| 2403 | ns.Valid = true |
| 2404 | return ns.NotificationMethod.Scan(value) |
| 2405 | } |
| 2406 | |
| 2407 | // Value implements the driver Valuer interface. |
| 2408 | func (ns NullNotificationMethod) Value() (driver.Value, error) { |
no test coverage detected