(src interface{})
| 4291 | ) |
| 4292 | |
| 4293 | func (e *WorkspaceTransition) Scan(src interface{}) error { |
| 4294 | switch s := src.(type) { |
| 4295 | case []byte: |
| 4296 | *e = WorkspaceTransition(s) |
| 4297 | case string: |
| 4298 | *e = WorkspaceTransition(s) |
| 4299 | default: |
| 4300 | return fmt.Errorf("unsupported scan type for WorkspaceTransition: %T", src) |
| 4301 | } |
| 4302 | return nil |
| 4303 | } |
| 4304 | |
| 4305 | type NullWorkspaceTransition struct { |
| 4306 | WorkspaceTransition WorkspaceTransition `json:"workspace_transition"` |
nothing calls this directly
no test coverage detected