diff options
Diffstat (limited to '.vim/after/snippets/go.snippets.todo')
| -rw-r--r-- | .vim/after/snippets/go.snippets.todo | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.vim/after/snippets/go.snippets.todo b/.vim/after/snippets/go.snippets.todo new file mode 100644 index 0000000..3152e3a --- /dev/null +++ b/.vim/after/snippets/go.snippets.todo @@ -0,0 +1,11 @@ +snippet main "func main()" +func main() { + ${0} +} +endsnippet + +snippet hfn "http.HandlerFunc" +func $1(w http.ResponseWriter, r *http.Request) { + $0 +} +endsnippet |