Skip to content

refactor(context): simplify "GetType()" functions #1634

refactor(context): simplify "GetType()" functions

refactor(context): simplify "GetType()" functions #1634

Re-run triggered October 25, 2024 01:05
Status Failure
Total duration 1m 22s
Artifacts

gin.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: context.go#L971
c.Writer.WriteHeader undefined (type ResponseWriter has no field or method WriteHeader) (typecheck)
lint: context.go#L979
c.Writer.Header undefined (type ResponseWriter has no field or method Header) (typecheck)
lint: context.go#L982
c.Writer.Header undefined (type ResponseWriter has no field or method Header) (typecheck)
lint: context.go#L1184
c.Writer.Header undefined (type ResponseWriter has no field or method Header) (typecheck)
lint: context.go#L1203
w.CloseNotify undefined (type ResponseWriter has no field or method CloseNotify) (typecheck)
lint: context.go#L1209
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)
lint: context.go#L1210
w.Flush undefined (type ResponseWriter has no field or method Flush) (typecheck)
lint: gin.go#L704
c.writermem.Header undefined (type responseWriter has no field or method Header) (typecheck)
lint: gin.go#L723
c.writermem.Header undefined (type responseWriter has no field or method Header) (typecheck)
lint: gin.go#L724
c.Writer.Write undefined (type ResponseWriter has no field or method Write) (typecheck)