net/http包如何实现restful api?

jinwangdalaohu · · 3886 次点击
https://www.youtube.com/watch?v=eTjNtNnVOGY
#5
更多评论
``` switch req.Method { case http.MethodGet: // deal with GET case http.MethodPost: // deal with POST // ... } ```
#1