kvii
kvii
Rod Version: v0.109.1 If the website has a form with a submit button. When you click the button. It will send a XHR request. It's too boring that you must...
- [x] Do only one thing - [x] Non breaking API changes - [x] Tested ### What did this pull request do? To fix logger path bug. ### User Case...
- [x] Do only one thing - [x] Non breaking API changes - [x] Tested ### What did this pull request do? This pr is intent to fix the bug...
A simple typo.
I think it's necessary to follow the behavior of the document of http.ResponseWriter. It's hard to explain "why". But you can see this [repo](https://github.com/kvii/response_writer).
#### Description (what this PR does / why we need it): ResponseRecorder recommend that users should call `Result` to get response info for testing purpose. References: * [doc of ResponseRecorder.Header](https://pkg.go.dev/net/http/httptest#ResponseRecorder.Header)...
#### Description (what this PR does / why we need it): 1. Remove wrapper.w to avoid confused of ResponseWriter. 2. Add unwrap method for accessing wrapped ResponseWriter. 3. Create testing...
#### Description (what this PR does / why we need it): 有两个 test case 重了,我给删除了。再就是 test 失败打印日志的时候不需要再运行一遍函数。 #### Which issue(s) this PR fixes (resolves / be part of): #### Other...
#### Description (what this PR does / why we need it): log.stdLogger use log.Logger internally, and disable all options such as prefix or log flags. log.stdLogger use l.log like a...
#### Description (what this PR does / why we need it): Fix caller path issue in logging middleware. #### Which issue(s) this PR fixes (resolves / be part of): fixes/resolves...