Go语言实现的WebSeverFramework.
启动代码:
//./demo/basic/main.goformoredetailserver,err:=wk.NewDefaultServer()iferr!=nil{fmt.Println("NewDefaultServererror",err)return}server.RouteTable.Get("/data/top/{count}").To(...)server.Start()Go语言实现的WebSeverFramework.
启动代码:
//./demo/basic/main.goformoredetailserver,err:=wk.NewDefaultServer()iferr!=nil{fmt.Println("NewDefaultServererror",err)return}server.RouteTable.Get("/data/top/{count}").To(...)server.Start()
评论