aboutsummaryrefslogtreecommitdiff
path: root/template/go/base-web-goji.go
blob: a0cd74db58b7c4b23c57336416ee28ddce5d8745 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main

import (
	"net/http"

	"github.com/zenazn/goji"
	"github.com/zenazn/goji/web"
)

func main() {
	goji.Get("/", func(c web.C, w http.ResponseWriter, r *http.Request) {
		{{_cursor_}}
	})
	goji.Serve()
}
{{_filter_:web-goji}}