Skip to content

Instantly share code, notes, and snippets.

@made2591
Created February 9, 2020 15:02
Show Gist options
  • Select an option

  • Save made2591/2bd964fba98cddaf5bf50bbac00f0023 to your computer and use it in GitHub Desktop.

Select an option

Save made2591/2bd964fba98cddaf5bf50bbac00f0023 to your computer and use it in GitHub Desktop.
...
func f1(x int) (int, string) {
return x + 1, fmt.Sprintf("%d+1", x)
}
func f2(x int) (int, string) {
return x + 2, fmt.Sprintf("%d+2", x)
}
func f3(x int) (int, string) {
return x + 3, fmt.Sprintf("%d+3", x)
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment