(src interface{})
| 3465 | ) |
| 3466 | |
| 3467 | func (e *ShareableWorkspaceOwners) Scan(src interface{}) error { |
| 3468 | switch s := src.(type) { |
| 3469 | case []byte: |
| 3470 | *e = ShareableWorkspaceOwners(s) |
| 3471 | case string: |
| 3472 | *e = ShareableWorkspaceOwners(s) |
| 3473 | default: |
| 3474 | return fmt.Errorf("unsupported scan type for ShareableWorkspaceOwners: %T", src) |
| 3475 | } |
| 3476 | return nil |
| 3477 | } |
| 3478 | |
| 3479 | type NullShareableWorkspaceOwners struct { |
| 3480 | ShareableWorkspaceOwners ShareableWorkspaceOwners `json:"shareable_workspace_owners"` |
nothing calls this directly
no test coverage detected