diff options
author | mattn <mattn.jp@gmail.com> | 2014-01-28 11:03:14 +0900 |
---|---|---|
committer | mattn <mattn.jp@gmail.com> | 2014-01-28 11:03:14 +0900 |
commit | 4c5bc730fce163ecdcd4c2bf39526461605a9694 (patch) | |
tree | ef89465e9dc2f2051739650e7e73d28c068047ea /template/go | |
parent | 00ad0935c0b2c079e68ef60927ba66531706bf79 (diff) | |
download | vim-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.go | 2 | ||||
-rw-r--r-- | template/go/snip-web-app-handlefunc.go | 2 |
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_}} }) |