Ejemplo n.º 1
0
func init() {
	app.Register("Phrase", &Phrase{})
	app.Fallback("/phrase", app.App("Phrase"))
}
Ejemplo n.º 2
0
// Initialization function
func init() {
	// Your initialization code goes here.
	app.Register("Static", &Static{})
	app.Fallback("/", app.App("Static"))
}
Ejemplo n.º 3
0
func init() {
	app.Register("Data", &Data{})
	app.Route("/data", app.App("Data"))
}
Ejemplo n.º 4
0
func init() {
	app.Register("Image", &Image{})
	app.Route("/image", app.App("Image"))
}
Ejemplo n.º 5
0
func init() {
	app.Register("Country", &Country{})
	app.Route("/country", app.App("Country"))
}
Ejemplo n.º 6
0
func init() {
	app.Register("Hello", &Hello{})
	app.Route("/", app.App("Hello"))
}
Ejemplo n.º 7
0
func init() {
	app.Register("Static", &Static{})
	app.Fallback("/", app.App("Static"))
}
Ejemplo n.º 8
0
// Initialization function
func init() {
	// Your initialization code goes here.
	app.Register("Build", &Build{})
	app.Route("/", app.App("Build"))
}