mgutz / dat

Go Postgres Data Access Toolkit
Other
610 stars 62 forks source link

sqlx-runner exec error #78

Open woanware opened 6 years ago

woanware commented 6 years ago

Line 719 in sqlx-runner/exec.go won't compile as the NewV4 method returns a string and an error so causes a multi value returned error:

https://github.com/satori/go.uuid/blob/master/generator.go

func NewV4() (UUID, error) { return global.NewV4() }

richp10 commented 6 years ago

Workaround used by many people is to set the go.uuid version like this in Gopkg.toml

[[constraint]] name = "github.com/satori/go.uuid" version = "v1.1.0"