Пример #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
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"))
}