We use
gopkg.in quite a bit and it's been working well
for us. I'd like raise an issue that we've encountered
recently and ask for reactions.
Say I have a package
gopkg.in/a.v1:
package a
import "
gopkg.in/b.v4"
func Foo() b.Bar
and I change it to use
gopkg.in/b.v5, do I need to
bump
gopkg.in/a.v1 to v2 ?
More succinctly, if a dependency's major
version changes and it appears in the public
API, does that count as a major API version change?
I suspect the answer is "yes" (by the
gopkg.in compatibility
rules, the types have changed) but I don't particularly
like it as it means that a package version must increment
if *any* of the dependencies mentioned in its public API
change version.
What do you think?
cheers,
rog.