-
Notifications
You must be signed in to change notification settings - Fork 852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2 and go modules #232
Comments
Hey @cludden, Unfortunately with the V2 release I got stuck in an awkward position. I was already using modules to manage Benthos' own dependencies but when it came to the V2 release I was going to have to break compatibility with dep if I updated all the local import paths to be module compliant. What I did instead was bump the major version but leave the To get the latest version of Benthos as a dependency (currently v2.8.6) you can run:
That'll give you an ugly entry in your own My plan is that when modules are the Go tool default I'll do a major version bump that jumps straight into full modules compliance. At that point you'll be forced to use modules and use the |
The plugin example repo https://github.com/benthosdev/benthos-plugin-example shows you what that looks like. |
Thanks for the quick reply! |
Hey @Jeffail, I'm looking to embed benthos in another application, and running into issues with go modules. Out of curiosity, does the
go.mod
module directive need to be updated to include/v2
in accordance with https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher?The text was updated successfully, but these errors were encountered: