(src interface{})
| 66 | ) |
| 67 | |
| 68 | func (e *UsersShoeSize) Scan(src interface{}) error { |
| 69 | switch s := src.(type) { |
| 70 | case []byte: |
| 71 | *e = UsersShoeSize(s) |
| 72 | case string: |
| 73 | *e = UsersShoeSize(s) |
| 74 | default: |
| 75 | return fmt.Errorf("unsupported scan type for UsersShoeSize: %T", src) |
| 76 | } |
| 77 | return nil |
| 78 | } |
| 79 | |
| 80 | type NullUsersShoeSize struct { |
| 81 | UsersShoeSize UsersShoeSize |
no test coverage detected