Essential Go Basic types  Edit on GitHub      File Issue

Unions

Go doesn’t have a union type like C.

To combine a value and its type into a single entity, use an empty interface interface{}.

  ↑ ↓ to navigate     ↵ to select     Esc to close