Closed devigned closed 5 years ago
This ForeachKey() is removed. But gocloud has some code depending on this. And my code depends on gocloud.
../../../../gocloud.dev/pubsub/azuresb/azuresb.go:448:9: sbmsg.ForeachKey undefined (type *servicebus.Message has no field or method ForeachKey)
@chrislusf are you using go modules or any other dependency management tool? Based on the go-cloud go.mod
file https://github.com/google/go-cloud/blob/b8dfaf7853a9331330711ad36ca187b19d33832c/go.mod#L25, they should be pinned to service bus v0.7.0 and should not be broken if using go modules.
I'll look at opening a pull request to go-cloud to resolve this with v0.8.0.
Please also keep in mind that while this project is below v1, we do reserve the ability to change the interface, and to properly insulate your self from these changes, we highly recommend using some form of dependency management.
@chrislusf this PR should resolve the issue you are running into. I'm sorry if this was a painful experience.
I highly encourage your to use Go modules, if you are not already, to have more control over your dependencies, particularly when the dependencies include modules versions < v1.x.x
.
breaking change remove persist and move into the Event Hubs package
breaking change remove log package in favor of https://github.com/devigned/tab
[x] All tests passed
[x] Add changes to
changelog.md