Exemplo n.º 1
0
func attribution(response http.ResponseWriter, request *http.Request) {
	templates["attribution"].ExecuteTemplate(response, "base", Context{
		"Title":     "Image Attribution",
		"Creatures": model.GetPublicCreatures(appengine.NewContext(request)),
	})
}
Exemplo n.º 2
0
func creatures(response http.ResponseWriter, request *http.Request) {
	templates["creatures"].ExecuteTemplate(response, "base", Context{
		"Title":     "Creatures List",
		"Creatures": model.GetPublicCreatures(appengine.NewContext(request)),
	})
}