示例#1
0
func main() {
	server.RegisterHandlers()
	http.Handle("/", http.FileServer(http.Dir("static")))
	http.ListenAndServe(":8080", nil)
}
示例#2
0
func init() {
	server.RegisterHandlers()
}