refactor Context to CTX and add context parameter to complains custom contexts from styleguide

This commit is contained in:
2024-11-20 23:07:55 +01:00
parent 8a0e99651c
commit 4c8c6121b1
4 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -55,7 +55,7 @@ func Test_BindJSON(t *testing.T) {
req.Header.Set("Content-Type", "application/json")
rr := httptest.NewRecorder()
c := &Context{
c := &CTX{
W: rr,
R: req,
}
@@ -89,7 +89,7 @@ func Test_BindForm(t *testing.T) {
rr := httptest.NewRecorder()
c := &Context{
c := &CTX{
W: rr,
R: req,
}