sessions icon indicating copy to clipboard operation
sessions copied to clipboard

Replace redis library in redis store implementation

Open rubensayshi opened this issue 2 years ago • 3 comments

redigo deprecated the version which you're using and it's breaking any go list actions ...

go list -u -m -json all
go list -m: github.com/gomodule/[email protected]+incompatible: retracted by module author: Old development version not maintained or published.
go list -m: github.com/gin-contrib/[email protected] requires
	github.com/gomodule/[email protected]+incompatible: missing go.sum entry; to add it:
	go mod download github.com/gomodule/redigo

I've taken the PR by @AlexeyBelezeko (https://github.com/gin-contrib/sessions/pull/129) and rebased it and bumped the redis depedencies to v8. Credit goes to him for all the work so I've left the commit author on his name if he's okay with that as well ;)

rubensayshi avatar Jan 30 '22 12:01 rubensayshi

Hi @rubensayshi. I'm totally ok. Hope you will be lucky and this MR will be merged.

AlexeyBelezeko avatar Jan 31 '22 09:01 AlexeyBelezeko

Came here looking for this.

esacteksab avatar Jun 25 '22 16:06 esacteksab

Redigo has a maintained branch in the 1.8.x series (currently 1.8.9), updated not long after this issue. Probably better to stay on it and just depend on the live version (1.8.9) instead of the older pre-module deprecated one (2.0.0).

fgm avatar Feb 17 '23 13:02 fgm