aboutsummaryrefslogtreecommitdiff
path: root/template/go/snip-web-standard-handlefunc.go
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2014-10-07 20:35:09 +0900
committermattn <mattn.jp@gmail.com>2014-10-07 20:35:09 +0900
commit2b4f6edefe96cc0b1ace83ffa22fa31a765d724e (patch)
tree7a784db51336a710e62613ec5b73c24257236a27 /template/go/snip-web-standard-handlefunc.go
parent2bccbb65cf40b75c90db4bd7506f20de461f8662 (diff)
downloadvim-sonictemplate-2b4f6edefe96cc0b1ace83ffa22fa31a765d724e.tar.gz
vim-sonictemplate-2b4f6edefe96cc0b1ace83ffa22fa31a765d724e.tar.bz2
vim-sonictemplate-2b4f6edefe96cc0b1ace83ffa22fa31a765d724e.zip
rename
Diffstat (limited to 'template/go/snip-web-standard-handlefunc.go')
-rw-r--r--template/go/snip-web-standard-handlefunc.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/template/go/snip-web-standard-handlefunc.go b/template/go/snip-web-standard-handlefunc.go
new file mode 100644
index 0000000..19a6495
--- /dev/null
+++ b/template/go/snip-web-standard-handlefunc.go
@@ -0,0 +1,3 @@
+http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
+ {{_cursor_}}
+})