Skip to content

Instantly share code, notes, and snippets.

@corsc
Last active February 1, 2016 07:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corsc/6309ef29b8a7fd783131 to your computer and use it in GitHub Desktop.
Save corsc/6309ef29b8a7fd783131 to your computer and use it in GitHub Desktop.
func do(a int, b int) int {
return a + b
}
func add(a int, b int) int {
return a + b
}
func getCounter() int {
counter++
return counter
}
func incrementCounter() int {
counter++
return counter
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment