Go doesn’t have a union type like C.
To combine a value and its type into a single entity, use an empty interface.
Send Feedback Cancel