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 393d980 commit a1f605cCopy full SHA for a1f605c
snippets/go.snippets
@@ -59,7 +59,7 @@ snippet in "interface"
59
interface{}
60
61
snippet inf "full interface "
62
- interface ${1:name} {
+ type ${1:name} interface {
63
${2:/* methods */}
64
}
65
@@ -188,7 +188,7 @@ snippet sr "string"
188
string
189
190
snippet st "struct"
191
- struct ${1:name} {
+ type ${1:name} struct {
192
${2:/* data */}
193
194
${0}
0 commit comments