Goland not recognize some libraries in the go mod vendor mode

      Symptoms: go build can be compiled normally, but can not find the code editor inside tips related lib, later found to be no use because go.mod require this library, the library address and fill version. Because mod vendor mode projects, generally do not need truthful version, it is easiest to write v0.0.0, depend directly on the photo, it will lead to problems.

Guess you like

Origin www.cnblogs.com/dhcn/p/11321839.html