Skip to content

Instantly share code, notes, and snippets.

@nwillc
Created July 15, 2022 19:46
Show Gist options
  • Save nwillc/3aef3d2df86abe6e007864d2b2fd470b to your computer and use it in GitHub Desktop.
Save nwillc/3aef3d2df86abe6e007864d2b2fd470b to your computer and use it in GitHub Desktop.
Go auto splat
fmt.Println(rotate(rotate(1, 2, 3)))
// output: 3 1 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment