(src interface{})
| 1485 | ) |
| 1486 | |
| 1487 | func (e *ChatPlanMode) Scan(src interface{}) error { |
| 1488 | switch s := src.(type) { |
| 1489 | case []byte: |
| 1490 | *e = ChatPlanMode(s) |
| 1491 | case string: |
| 1492 | *e = ChatPlanMode(s) |
| 1493 | default: |
| 1494 | return fmt.Errorf("unsupported scan type for ChatPlanMode: %T", src) |
| 1495 | } |
| 1496 | return nil |
| 1497 | } |
| 1498 | |
| 1499 | type NullChatPlanMode struct { |
| 1500 | ChatPlanMode ChatPlanMode `json:"chat_plan_mode"` |
nothing calls this directly
no test coverage detected