diff options
author | mattn <mattn.jp@gmail.com> | 2014-10-07 20:35:09 +0900 |
---|---|---|
committer | mattn <mattn.jp@gmail.com> | 2014-10-07 20:35:09 +0900 |
commit | 2b4f6edefe96cc0b1ace83ffa22fa31a765d724e (patch) | |
tree | 7a784db51336a710e62613ec5b73c24257236a27 /template/go/base-web-webgo.go | |
parent | 2bccbb65cf40b75c90db4bd7506f20de461f8662 (diff) | |
download | vim-sonictemplate-2b4f6edefe96cc0b1ace83ffa22fa31a765d724e.tar.gz vim-sonictemplate-2b4f6edefe96cc0b1ace83ffa22fa31a765d724e.tar.bz2 vim-sonictemplate-2b4f6edefe96cc0b1ace83ffa22fa31a765d724e.zip |
rename
Diffstat (limited to 'template/go/base-web-webgo.go')
-rw-r--r-- | template/go/base-web-webgo.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/template/go/base-web-webgo.go b/template/go/base-web-webgo.go new file mode 100644 index 0000000..c67b6a7 --- /dev/null +++ b/template/go/base-web-webgo.go @@ -0,0 +1,13 @@ +package main + +import ( + "github.com/hoisie/web" +) + +func main() { + web.Get("/", func() string { + return "{{_cursor_}}" + }) + web.Run(":8080") +} +{{_filter_:webgo}} |