Skip to content

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

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

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

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

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: app_test.go#L35
cannot use generic type Ctx[T any] without instantiation
lint: app_test.go#L39
cannot use generic type App[TCtx any] without instantiation
lint: bind_test.go#L1756
cannot use generic type Ctx[T any] without instantiation
lint: hooks_test.go#L14
cannot use generic type Ctx[T any] without instantiation
lint: listen_test.go#L653
cannot use generic type Ctx[T any] without instantiation
lint: router_test.go#L403
undefined: TCtx
lint: app.go#L482
c.Status(code).SendString undefined (type any has no field or method SendString)
lint: app.go#L496
any does not satisfy Ctx[any] (missing method Accepts)
lint: app.go#L501
cannot use app (variable of type *App[any]) as *App[DefaultCtx] value in return statement
lint: app.go#L555
cannot use app (variable of type *App[TCtx]) as *App[Ctx[any]] value in argument to newHooks