refactor(context): refactor context handling and improve test robustn… #1640
Annotations
10 errors
Setup golangci-lint:
context.go#L1048
c.Writer.WriteHeader undefined (type ResponseWriter has no field or method WriteHeader) (typecheck)
|
Setup golangci-lint:
context.go#L1056
c.Writer.Header undefined (type ResponseWriter has no field or method Header) (typecheck)
|
Setup golangci-lint:
context.go#L1059
c.Writer.Header undefined (type ResponseWriter has no field or method Header) (typecheck)
|
Setup golangci-lint:
context.go#L1261
c.Writer.Header undefined (type ResponseWriter has no field or method Header) (typecheck)
|
Setup golangci-lint:
context.go#L1280
w.CloseNotify undefined (type ResponseWriter has no field or method CloseNotify) (typecheck)
|
Setup golangci-lint:
context.go#L1286
cannot use w (variable of type ResponseWriter) as io.Writer value in argument to step: ResponseWriter does not implement io.Writer (missing method Write) (typecheck)
|
Setup golangci-lint:
context.go#L1287
w.Flush undefined (type ResponseWriter has no field or method Flush) (typecheck)
|
Setup golangci-lint:
gin.go#L704
c.writermem.Header undefined (type responseWriter has no field or method Header) (typecheck)
|
Setup golangci-lint:
gin.go#L723
c.writermem.Header undefined (type responseWriter has no field or method Header) (typecheck)
|
Setup golangci-lint:
gin.go#L724
c.Writer.Write undefined (type ResponseWriter has no field or method Write) (typecheck)
|
Loading