示例#1
0
func init() {
	app.Register("Phrase", &Phrase{})
	app.Fallback("/phrase", app.App("Phrase"))
}
示例#2
0
// Initialization function
func init() {
	// Your initialization code goes here.
	app.Register("Static", &Static{})
	app.Fallback("/", app.App("Static"))
}
示例#3
0
文件: data.go 项目: astrata/tango-doc
func init() {
	app.Register("Data", &Data{})
	app.Route("/data", app.App("Data"))
}
示例#4
0
func init() {
	app.Register("Image", &Image{})
	app.Route("/image", app.App("Image"))
}
示例#5
0
func init() {
	app.Register("Country", &Country{})
	app.Route("/country", app.App("Country"))
}
示例#6
0
func init() {
	app.Register("Hello", &Hello{})
	app.Route("/", app.App("Hello"))
}
示例#7
0
func init() {
	app.Register("Static", &Static{})
	app.Fallback("/", app.App("Static"))
}
示例#8
0
// Initialization function
func init() {
	// Your initialization code goes here.
	app.Register("Build", &Build{})
	app.Route("/", app.App("Build"))
}