OneOf choose the first non-nil, non-zero, non-false fields oneof(nil, 0, "hello") => 'hello'
| 15 | // oneof(nil, 0, "hello") => 'hello' |
| 16 | // |
| 17 | type OneOf struct{} |
| 18 | |
| 19 | // Type unknown |
| 20 | func (m *OneOf) Type() value.ValueType { return value.UnknownType } |
nothing calls this directly
no outgoing calls
no test coverage detected