1package intstr
2
3// IntOrString is a type that can hold an int32 or a string. When
4// used in JSON or YAML marshalling and unmarshalling, it
5// produces or consumes the inner type. This allows you to have,
6// for example, a JSON field that can accept a name or number.
7#IntOrString: matchN(1, [int, string])