(src interface{})
| 323 | ) |
| 324 | |
| 325 | func (e *APIKeyScope) Scan(src interface{}) error { |
| 326 | switch s := src.(type) { |
| 327 | case []byte: |
| 328 | *e = APIKeyScope(s) |
| 329 | case string: |
| 330 | *e = APIKeyScope(s) |
| 331 | default: |
| 332 | return fmt.Errorf("unsupported scan type for APIKeyScope: %T", src) |
| 333 | } |
| 334 | return nil |
| 335 | } |
| 336 | |
| 337 | type NullAPIKeyScope struct { |
| 338 | APIKeyScope APIKeyScope `json:"api_key_scope"` |
nothing calls this directly
no test coverage detected