Essential Go Basic types  Suggest an edit

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.

  ↑ ↓ to navigate     ↵ to select     Esc to close