示例#1
0
// Initialization function
func init() {
	// Your initialization code goes here.
	app.Register("Static", &Static{})
	app.Fallback("/", app.App("Static"))
}
示例#2
0
func init() {
	app.Register("Phrase", &Phrase{})
	app.Fallback("/phrase", app.App("Phrase"))
}
示例#3
0
func init() {
	app.Register("Static", &Static{})
	app.Fallback("/", app.App("Static"))
}