aboutsummaryrefslogtreecommitdiff
path: root/template/go
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2014-01-28 11:03:14 +0900
committermattn <mattn.jp@gmail.com>2014-01-28 11:03:14 +0900
commit4c5bc730fce163ecdcd4c2bf39526461605a9694 (patch)
treeef89465e9dc2f2051739650e7e73d28c068047ea /template/go
parent00ad0935c0b2c079e68ef60927ba66531706bf79 (diff)
downloadvim-sonictemplate-4c5bc730fce163ecdcd4c2bf39526461605a9694.tar.gz
vim-sonictemplate-4c5bc730fce163ecdcd4c2bf39526461605a9694.tar.bz2
vim-sonictemplate-4c5bc730fce163ecdcd4c2bf39526461605a9694.zip
Cosmetic changes
Diffstat (limited to 'template/go')
-rw-r--r--template/go/base-web-app.go2
-rw-r--r--template/go/snip-web-app-handlefunc.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/template/go/base-web-app.go b/template/go/base-web-app.go
index 0ca7e3b..6788b18 100644
--- a/template/go/base-web-app.go
+++ b/template/go/base-web-app.go
@@ -6,7 +6,7 @@ import (
)
func main() {
- http.HandleFunc("/", func (w http.ResponseWriter, r *http.Request) {
+ http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "{{_cursor_}}")
})
http.ListenAndServe(":8080", nil)
diff --git a/template/go/snip-web-app-handlefunc.go b/template/go/snip-web-app-handlefunc.go
index 2a470b0..19a6495 100644
--- a/template/go/snip-web-app-handlefunc.go
+++ b/template/go/snip-web-app-handlefunc.go
@@ -1,3 +1,3 @@
-http.HandleFunc("/", func (w http.ResponseWriter, r *http.Request) {
+http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
{{_cursor_}}
})