Skip to content

Instantly share code, notes, and snippets.

@morganwilde
Created March 11, 2014 13:29
Show Gist options
  • Save morganwilde/9485600 to your computer and use it in GitHub Desktop.
Save morganwilde/9485600 to your computer and use it in GitHub Desktop.
kvs := map[string]string{"a": "apple", "b": "banana"}
for k, v := range kvs {
fmt.Printf("%s -> %s\n", k, v) // If I press Enter here
// <-- The cursor jumps here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment