mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-17 22:19:42 +02:00
refactor: fix lint errors; improve error handling
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
type ContextKey struct{}
|
||||
|
||||
func SetCtx(ctx interface{ SetValue(any, any) }, ep Entrypoint) {
|
||||
func SetCtx(ctx interface{ SetValue(key any, value any) }, ep Entrypoint) {
|
||||
ctx.SetValue(ContextKey{}, ep)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user