Skip to content

Instantly share code, notes, and snippets.

@robyoung
Created March 26, 2012 12:20
Show Gist options
  • Save robyoung/2204735 to your computer and use it in GitHub Desktop.
Save robyoung/2204735 to your computer and use it in GitHub Desktop.
Slice of strings
// 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