diff options
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}} |