Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Add snippet for select statement (#2004)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiaszheller authored and ramya-rao-a committed Oct 15, 2018
1 parent 38c0295 commit 6952be8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions snippets/go.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
"body": "switch ${1:expression} {\ncase ${2:condition}:\n\t$0\n}",
"description": "Snippet for switch statement"
},
"select statement": {
"prefix": "sel",
"body": "select {\ncase ${1:condition}:\n\t$0\n}",
"description": "Snippet for select statement"
},
"case clause": {
"prefix": "cs",
"body": "case ${1:condition}:$0",
Expand Down

0 comments on commit 6952be8

Please sign in to comment.