emitter-io / go

Go/Golang client for emitter
Eclipse Public License 1.0
68 stars 37 forks source link

assignment mismatch: 2 variables but 1 values #4

Closed amirkheirabadi73 closed 6 years ago

amirkheirabadi73 commented 6 years ago

When I try to run the sample on the first line:

o := emitter.NewClientOptions()

I getting this error:

vendor/github.com/emitter-io/go/options.go:33:10: assignment mismatch: 2 variables but 1 values

How can I solve this?

kelindar commented 6 years ago

I suspect your build doesn't compile in the right uuid library version. Make sure you use the one vendored which should work fine. Or run go get -u github.com/satori/go.uuid.

amirkheirabadi73 commented 6 years ago

Thx, the problem was solved. I used dep for install dependency and uuid that installed by dep wasn't the last version.

Synaxis commented 5 years ago

thanks..