Skip to content

Implement Fluent Method Chaining for Status and Type Methods Using Generics #3221 #4014

Implement Fluent Method Chaining for Status and Type Methods Using Generics #3221

Implement Fluent Method Chaining for Status and Type Methods Using Generics #3221 #4014

Triggered via pull request January 30, 2025 15:51
Status Failure
Total duration 2m 5s
Artifacts

benchmark.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Compare: app.go#L482
c.Status(code).SendString undefined (type any has no field or method SendString)
Compare: app.go#L496
any does not satisfy Ctx[any] (missing method Accepts)
Compare: app.go#L501
cannot use app (variable of type *App[any]) as *App[DefaultCtx] value in return statement
Compare: app.go#L555
cannot use app (variable of type *App[TCtx]) as *App[Ctx[any]] value in argument to newHooks
Compare: app.go#L558
cannot use app (variable of type *App[TCtx]) as *App[any] value in argument to newMountFields
Compare: app.go#L761
cannot use generic type App[TCtx any] without instantiation
Compare: app.go#L858
cannot use app (variable of type *App[TCtx]) as *App[any] value in struct literal
Compare: app.go#L873
cannot use app (variable of type *App[TCtx]) as *App[any] value in struct literal
Compare: app.go#L1152
cannot use ctx (variable of type Ctx[TCtx]) as Ctx[any] value in argument to mountedErrHandler: Ctx[TCtx] does not implement Ctx[any] (wrong type for method App)
Compare: app.go#L1155
cannot use ctx (variable of type Ctx[TCtx]) as Ctx[any] value in argument to app.config.ErrorHandler: Ctx[TCtx] does not implement Ctx[any] (wrong type for method App)