Skip to content

Instantly share code, notes, and snippets.

@danott
Created February 13, 2014 03:41
Show Gist options
  • Save danott/8969358 to your computer and use it in GitHub Desktop.
Save danott/8969358 to your computer and use it in GitHub Desktop.
func doSomethingWithIntish(i int) {
// whatever
}
doSomethingWithInt(1)
// type time.Month int
doSomethingWithInt(time.January)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment