Skip to content

feat: [#504] Route supports configure timeout #330

feat: [#504] Route supports configure timeout

feat: [#504] Route supports configure timeout #330

Re-run triggered October 28, 2024 01:18
Status Failure
Total duration 1m 48s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors
lint / nilaway: timeout_middleware.go#L1
package gin; expected package fiber
lint / nilaway: context.go#L46
c.instance.Request.WithContext undefined (type func() *fasthttp.Request has no field or method WithContext)
lint / nilaway: context.go#L46
cannot assign to c.instance.Request (neither addressable nor a map index expression)
lint / nilaway: route.go#L110
undefined: TimeoutMiddleware
lint / nilaway: timeout_middleware.go#L1
package gin; expected package fiber
lint / nilaway: context.go#L46
c.instance.Request.WithContext undefined (type func() *fasthttp.Request has no field or method WithContext)
lint / nilaway: context.go#L46
cannot assign to c.instance.Request (neither addressable nor a map index expression)
lint / nilaway: route.go#L110
undefined: TimeoutMiddleware
lint / nilaway: context_test.go#L38
undefined: context
lint / nilaway: context_test.go#L38
undefined: context
lint / lint: facades/fiber.go#L8
could not import github.com/goravel/fiber (-: found packages fiber (context.go) and gin (timeout_middleware.go) in ) (typecheck)
lint / lint: timeout_middleware.go#L1
package gin; expected package fiber
lint / lint: context.go#L46
cannot assign to c.instance.Request (neither addressable nor a map index expression)
lint / lint: context.go#L46
c.instance.Request.WithContext undefined (type func() *fasthttp.Request has no field or method WithContext)
lint / lint: route.go#L110
undefined: TimeoutMiddleware
lint / lint: context_test.go#L38
undefined: context
lint / lint: context_test.go#L38
undefined: time
lint / lint: context_test.go#L41
httpCtx.WithContext undefined (type "github.com/goravel/framework/contracts/http".Context has no field or method WithContext)
lint / lint: context_test.go#L48
undefined: time
lint / lint: context_test.go#L57
undefined: time