ref: use any as the key type WithValue #308
Annotations
9 errors
context.go#L25
cannot use &Context{…} (value of type *Context) as "github.com/goravel/framework/contracts/http".Context value in return statement: *Context does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
|
context_request.go#L418
cannot use r.ctx (variable of type *Context) as "github.com/goravel/framework/contracts/http".Context value in argument to request.Authorize: *Context does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
|
context_request.go#L422
cannot use r.ctx (variable of type *Context) as "github.com/goravel/framework/contracts/http".Context value in argument to request.Rules: *Context does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
|
context_request.go#L422
cannot use r.ctx (variable of type *Context) as "github.com/goravel/framework/contracts/http".Context value in argument to request.Filters: *Context does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
|
context_request.go#L422
cannot use r.ctx (variable of type *Context) as "github.com/goravel/framework/contracts/http".Context value in argument to request.Messages: *Context does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
|
context_request.go#L422
cannot use r.ctx (variable of type *Context) as "github.com/goravel/framework/contracts/http".Context value in argument to request.Attributes: *Context does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
|
context_response.go#L220
impossible type switch case: *Context
|
cors.go#L42
impossible type assertion: ctx.(*Context)
|
|
This job failed
Loading