1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 18:37:05 +00:00

update dependencies

This commit is contained in:
Gerasimos (Makis) Maropoulos
2025-08-15 23:29:20 +03:00
parent de4f462198
commit a8a3afea22
186 changed files with 694 additions and 689 deletions

View File

@@ -16,8 +16,8 @@ import (
// Service that cache will use to retrieve data.
type Service interface {
RecordInfo() sql.Record
GetByID(ctx context.Context, dest interface{}, id int64) error
List(ctx context.Context, dest interface{}, opts sql.ListOptions) error
GetByID(ctx context.Context, dest any, id int64) error
List(ctx context.Context, dest any, opts sql.ListOptions) error
}
// Cache is a simple structure which holds the groupcache and the database service, exposes
@@ -53,7 +53,7 @@ func (c *Cache) Get(ctx context.Context, key string, dest groupcache.Sink) error
return sql.ErrUnprocessable
}
var v interface{}
var v any
prefix := key[0:1]
key = key[1:]