[go-nuts] How to properly release a new project as a V2 module

2019-03-02 Thread 'Bryan Mills' via golang-nuts
The /v2 suffix is not just for within your code: that's how you need to address the module (and import its packages) everywhere. The contents of your go.mod file suggest that your calling code, or perhaps the `go get` command you used to add the module, is missing that suffix. -- You received

[go-nuts] How to properly release a new project as a V2 module

2019-03-01 Thread marcinr
Hi All, I've open sourced some work that I've done to generate Go server stubs from OpenAPI 3.0 specifications, found here: https://github.com/deepmap/oapi-codegen However, I can't figure out why I can't import my code as a V2 module. The release is tagged with v2.0.0, my go.mod file specifies