We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72d841f commit e3b080fCopy full SHA for e3b080f
neosnippets/go.snip
@@ -56,9 +56,36 @@ options head
56
${0:TARGET}
57
}
58
59
+snippet range
60
+abbr for range
61
+options head
62
+ for ${1:v} := range ${2:#:iterator} {
63
+ ${0:TARGET}
64
+ }
65
+
66
snippet if
67
options head
68
if ${1:err != nil} {
69
70
71
72
+snippet switch
73
+abbr switch {}
74
75
+ switch ${1:#:v} {
76
+ case ${2:#:condition}:
77
78
79
80
+snippet select
81
+abbr select {}
82
83
+ select {
84
+ case ${1:#:condition}:
85
86
87
88
+snippet case
89
90
91
+ ${2:TARGET}
0 commit comments