Skip to content

Instantly share code, notes, and snippets.

@l-vitaly
Created February 26, 2017 11:17
Show Gist options
  • Save l-vitaly/d47721c7308aff7f766dbef64898ad73 to your computer and use it in GitHub Desktop.
Save l-vitaly/d47721c7308aff7f766dbef64898ad73 to your computer and use it in GitHub Desktop.
const (
  Russia, USA = iota + 1, iota + 2
  Ukraine, Italy
  China, Spain
)
// Russia: 1
// USA: 2
// Ukraine: 2
// Italy: 3
// China: 3
// Spain: 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment