mirror of
https://github.com/go-gitea/gitea
synced 2025-07-16 15:28:37 +00:00
bump to go 1.23 (#31855)
This commit is contained in:
3
modules/cache/context.go
vendored
3
modules/cache/context.go
vendored
@@ -109,7 +109,8 @@ func WithCacheContext(ctx context.Context) context.Context {
|
||||
return ctx
|
||||
}
|
||||
}
|
||||
return context.WithValue(ctx, cacheContextKey, &cacheContext{
|
||||
// FIXME: review the use of this nolint directive
|
||||
return context.WithValue(ctx, cacheContextKey, &cacheContext{ //nolint:staticcheck
|
||||
data: make(map[any]map[any]any),
|
||||
created: timeNow(),
|
||||
})
|
||||
|
Reference in New Issue
Block a user