Enum represents an enum constraint for a required variable. It can either be a static list of values or a reference to another variable.
| 25 | // Enum represents an enum constraint for a required variable. |
| 26 | // It can either be a static list of values or a reference to another variable. |
| 27 | type Enum struct { |
| 28 | Ref string |
| 29 | Value []string |
| 30 | } |
| 31 | |
| 32 | func (e *Enum) DeepCopy() *Enum { |
| 33 | if e == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected