Add go snippets

main
Buddy Sandidge 4 years ago
parent 6a57ab4512
commit e2b639cc86

@ -1,3 +1,9 @@
snippet ignore "ignore function" !
func(...interface{}) {}(${1})
endsnippet
snippet ctx "context" !
ctx context.Context
endsnippet
snippet e "error wrapper" !
e := wrap(".")
endsnippet

Loading…
Cancel
Save