Skip to content

Commit

Permalink
rfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mredencom committed Aug 25, 2021
1 parent e2c3778 commit 9a0961a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/netpoll.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func main() {
m := mux.NewRoute()
m.GET("/hello/:id", func(w http.ResponseWriter, req *http.Request, params httprouter.Params) {
pp := req.URL.Query()
logger.Info("获取的参数:", params, pp)
logger.Info("query params:", params, pp)
mux.JSON(w, req, []string{"hello world"}, http.StatusOK)
})
log.Fatal(m.Run(":8080"))
Expand Down

0 comments on commit 9a0961a

Please sign in to comment.