add context support to handler & add otel middlware + example #285
Annotations
5 errors
handler/middleware/logger.go#L9
cannot use (func(e *events.InteractionCreate) error literal) (value of type func(e *events.InteractionCreate) error) as handler.Handler value in return statement: func(e *events.InteractionCreate) error does not implement handler.Handler (missing method Handle) (typecheck)
|
handler/middleware/logger.go#L11
invalid operation: cannot call non-function next (variable of type handler.Handler) (typecheck)
|
handler/middleware/print.go#L10
cannot use (func(event *events.InteractionCreate) error literal) (value of type func(event *events.InteractionCreate) error) as handler.Handler value in return statement: func(event *events.InteractionCreate) error does not implement handler.Handler (missing method Handle) (typecheck)
|
handler/middleware/print.go#L12
invalid operation: cannot call non-function next (variable of type handler.Handler) (typecheck)
|
|
The logs for this run have expired and are no longer available.
Loading