Add go snippets
parent
6a57ab4512
commit
e2b639cc86
@ -1,3 +1,9 @@
|
|||||||
snippet ignore "ignore function" !
|
snippet ignore "ignore function" !
|
||||||
func(...interface{}) {}(${1})
|
func(...interface{}) {}(${1})
|
||||||
endsnippet
|
endsnippet
|
||||||
|
snippet ctx "context" !
|
||||||
|
ctx context.Context
|
||||||
|
endsnippet
|
||||||
|
snippet e "error wrapper" !
|
||||||
|
e := wrap(".")
|
||||||
|
endsnippet
|
||||||
|
Loading…
Reference in New Issue