mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-27 00:23:41 +09:00
bump to go 1.23 (#31855)
This commit is contained in:
@@ -43,7 +43,8 @@ func withMethod(ctx context.Context, method string) context.Context {
|
||||
return ctx
|
||||
}
|
||||
}
|
||||
return context.WithValue(ctx, methodCtxKey, method)
|
||||
// FIXME: review the use of this nolint directive
|
||||
return context.WithValue(ctx, methodCtxKey, method) //nolint:staticcheck
|
||||
}
|
||||
|
||||
// getMethod gets the notification method that this context currently executes.
|
||||
|
||||
Reference in New Issue
Block a user