amenzhinsky / iothub

Azure IoT Hub SDK for Golang
MIT License
51 stars 57 forks source link

Getting ../pkg/mod/github.com/amenzhinsky/iothub@v0.6.0/eventhub/client.go:266:22: not enough arguments in call to msg.Accept on install command #25

Closed menezes25 closed 3 years ago

menezes25 commented 3 years ago

I'm trying to install the cli with the command GO111MODULE=on go get -u github.com/amenzhinsky/iothub/cmd/{iothub-service,iothub-device}

the iothub-divice installation was successful, but the iothub-service won't install, any one with this behaviour?

this is the output:

GO111MODULE=on go get -u github.com/amenzhinsky/iothub/cmd/{iothub-service,iothub-device} go: found github.com/amenzhinsky/iothub/cmd/iothub-device in github.com/amenzhinsky/iothub v0.6.0 go: found github.com/amenzhinsky/iothub/cmd/iothub-service in github.com/amenzhinsky/iothub v0.6.0 go: github.com/Azure/go-amqp upgrade => v0.13.1 go: github.com/pkg/errors upgrade => v0.9.1 go: golang.org/x/net upgrade => v0.0.0-20200707034311-ab3426394381

github.com/amenzhinsky/iothub/eventhub ../pkg/mod/github.com/amenzhinsky/iothub@v0.6.0/eventhub/client.go:266:22: not enough arguments in call to msg.Accept have () want (context.Context)