Created
July 15, 2022 19:45
-
-
Save nwillc/577f8dacdeec4de7e07b8bb82e7283ec to your computer and use it in GitHub Desktop.
Go multi assignment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aa, bb, cc = bb, cc, aa | |
fmt.Println(aa, bb, cc) | |
// output: 3 1 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment