(src interface{})
| 1093 | ) |
| 1094 | |
| 1095 | func (e *AutomaticUpdates) Scan(src interface{}) error { |
| 1096 | switch s := src.(type) { |
| 1097 | case []byte: |
| 1098 | *e = AutomaticUpdates(s) |
| 1099 | case string: |
| 1100 | *e = AutomaticUpdates(s) |
| 1101 | default: |
| 1102 | return fmt.Errorf("unsupported scan type for AutomaticUpdates: %T", src) |
| 1103 | } |
| 1104 | return nil |
| 1105 | } |
| 1106 | |
| 1107 | type NullAutomaticUpdates struct { |
| 1108 | AutomaticUpdates AutomaticUpdates `json:"automatic_updates"` |
nothing calls this directly
no test coverage detected