if error go snippet
This commit is contained in:
parent
631727de3a
commit
0e190fb9fb
1 changed files with 7 additions and 0 deletions
7
snippets/go-ts-mode/if-err
Normal file
7
snippets/go-ts-mode/if-err
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: if-err
|
||||||
|
# key: ife
|
||||||
|
# --
|
||||||
|
if err != nil {
|
||||||
|
$0
|
||||||
|
}
|
Loading…
Reference in a new issue