(val int64)
| 90 | } |
| 91 | |
| 92 | func lookupSqlIntGreekGod(val int64) (GreekGod, error) { |
| 93 | x, ok := sqlIntGreekGodMap[val] |
| 94 | if !ok { |
| 95 | return x, fmt.Errorf("%v is not %w", val, ErrInvalidGreekGod) |
| 96 | } |
| 97 | return x, nil |
| 98 | } |
| 99 | |
| 100 | // Scan implements the Scanner interface. |
| 101 | func (x *GreekGod) Scan(value interface{}) (err error) { |
no outgoing calls
no test coverage detected
searching dependent graphs…