Skip to content

Commit e307a6a

Browse files
authored
web: add snippers for panic, recover and defer (#110)
1 parent 3fadb7c commit e307a6a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

web/src/services/go/snippets.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@
4747
{
4848
"label": "Errors",
4949
"snippet": "NiJOpCPO3L0"
50+
},
51+
{
52+
"label": "Defer",
53+
"snippet": "5SDVfc_jxbg"
54+
},
55+
{
56+
"label": "Panic & recover",
57+
"snippet": "Sk-SVdofEIZ"
5058
}
5159
],
5260
"Concurrency": [

0 commit comments

Comments
 (0)