-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
Problem statement
the swagger
CLI tool does not work correctly when the target repository is a Go 1.11 Module. The tool should not use GOPATH/src
to resolve dependencies, and instead use the GOPATH/pkg/mod
The possible failure cases I have discovered are as follows:
- required dependency is not in GOPATH
- results in the CLI tool saying it cannot find dependency
- dependency in GOPATH is not the same as declared in MODULE
- individual types/functions/packages fail, rather than the dependency as a whole
kishaningithub, shyr, howie, hlubek, GomesNayagam and 23 more