clover: cannot install using go 1.18.1

It seems that the package id not running perhaps for a breaking change on the UUID package

 go get github.com/ostafen/clover
# github.com/ostafen/clover
../../../go/src/github.com/ostafen/clover/db.go:49:9: multiple-value uuid.NewV4() (value of type (uuid.UUID, error)) in single-value context

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 29 (15 by maintainers)

Most upvoted comments

@ostafen thanks a lot for your quick comments. Just to clarify the version fetched by go get is exactly the version available in github https://github.com/satori/go.uuid/blob/master/generator.go line 67 to 70 are the same.

The go mod for clover specifies 1.2.0 as a version so I think go get does fetch what is asked. if you need a special version commit for clover to function why not fork this UUID module to ensure consistency? It has not been updated in 4 years so either is finished or unmainteined at this point 😃

I assume that most of the users use go install ? With go get is definitely not working even on go 1.15 I just tried in a completely different, clean server

gurugeek@david:~$ go version
go version go1.15.15 linux/amd64
gurugeek@david:~$ go get github.com/ostafen/clover
# github.com/ostafen/clover
go/src/github.com/ostafen/clover/db.go:49:19: multiple-value uuid.NewV4() in single-value context
gurugeek@david:~$ 

Happy to help debugging if needed.

It seems that the package id not running perhaps for a breaking change on the UUID package

I am using go 1.18.0 which is perfectly supported. I haven’t tried to test on 1.18.1 yet image