go.uuid icon indicating copy to clipboard operation
go.uuid copied to clipboard

release version problem

Open overstep123 opened this issue 4 years ago • 6 comments

when i use go mod, image

overstep123 avatar Mar 24 '20 07:03 overstep123

then , image

overstep123 avatar Mar 24 '20 07:03 overstep123

the master is version v1.2.1,but the latest release is version v1.2.0. much more,the two version have different interface :Generator(different count of return value of its function)

overstep123 avatar Mar 24 '20 07:03 overstep123

+1

I was enforced to fork this repo due to this issue.

isoloviev avatar Apr 08 '20 05:04 isoloviev

@isoloviev , @overstep123 when picking up a 3rd party library, an important step is to go look over the backlog of the repo and to figure out whether the package is live.

This package is basically dead, you should not use it. https://github.com/satori/go.uuid/issues/103

DamareYoh avatar Apr 22 '20 21:04 DamareYoh

here is a workaround . change the version to below in go.mod file.

	github.com/satori/go.uuid v1.2.1-0.20181028125025-b2ce2384e17b // indirect

mailtokun avatar May 08 '20 10:05 mailtokun

@mailtokun a better work around is to use a maintained library for uuids. gofrs/uuid is a fork of this that fixed the original defects the library has and it has dedicated maintenance.

DamareYoh avatar May 08 '20 14:05 DamareYoh