go-cache
go-cache copied to clipboard
Can you support gomod
Can you support gomod
+1
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.
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
I think there's no way around re releasing this as a /v3