1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-24 04:15:56 +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

@@ -150,12 +150,12 @@ func (r *GoRedisDriver) CloseConnection() error {
// Set stores a "value" based on the session's "key".
// The value should be type of []byte, so unmarshal can happen.
func (r *GoRedisDriver) Set(sid, key string, value interface{}) error {
func (r *GoRedisDriver) Set(sid, key string, value any) error {
return r.Client.HSet(defaultContext, sid, key, value).Err()
}
// Get returns the associated value of the session's given "key".
func (r *GoRedisDriver) Get(sid, key string) (interface{}, error) {
func (r *GoRedisDriver) Get(sid, key string) (any, error) {
return r.Client.HGet(defaultContext, sid, key).Bytes()
}