Kevin Wan
Kevin Wan
There is no method to get the route associated with current request.
Use the versions of grpc and etcd mentioned in go.mod of go-zero.
Use `form` tag.
It's only for test purpose. The best practices is to create a rest.Server and addRoutes, then start the server.
Got it. I'll investigate this and if necessary, I'll add it back. But for the previous implementation, bindRoutes will be called for each request. It causes memory leak, and it's...
hi @jaronnie Would you please do a code review and check if the PR #4896 meets the requirement? Thanks!
Would you please use it from https://github.com/kevwan/go-zero/tree/rest/feat-servehttp
How do you use it in serverless service? Would you please give me an example code?
I've update the PR.
Does it work for you?