Created
March 26, 2012 12:20
-
-
Save robyoung/2204735 to your computer and use it in GitHub Desktop.
Slice of strings
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
// I would like to be able to write this | |
var labels = []string{"one", "two", "three"} | |
// ...something like this | |
var labels = []string{ | |
"one", | |
"two", | |
"three" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment