go-cache icon indicating copy to clipboard operation
go-cache copied to clipboard

Can you support gomod

Open rhinogo opened this issue 6 years ago • 4 comments

Can you support gomod

rhinogo avatar Apr 30 '19 03:04 rhinogo

+1

tomjamescn avatar Apr 30 '19 08:04 tomjamescn

Please see https://github.com/patrickmn/go-cache/pull/89. Would love to know if you have a good suggestion on how to avoid reverting people to v1.

patrickmn avatar Apr 30 '19 14:04 patrickmn

Unfortunately you cannot add go modules to a current stable version. You need a major version bump and /v3 suffix in the module path. That way go get github.com/patrickmn/go-cache should still get you 2.x and go get github.com/patrickmn/go-cache/v3 should get 3.x

sagikazarmark avatar Dec 28 '19 05:12 sagikazarmark

I think there's no way around re releasing this as a /v3

LennyPenny avatar Jan 22 '20 13:01 LennyPenny