Closed remingtonc closed 5 years ago
Instead of removing them, we might want to replace them for the correct ones (so we support Go 1.12+). In order to generate them, execute this go mod init github.com/cisco-ie/pipeline-gnmi
at the root of the repo. It will add a new go.mod
and go.sum
.
My current problem is that when building with Go modules there are multiple failures with jsonpb. Not using Go modules still works exclusively because the vendor/
ed code itself contains the patch. We are inherently broken here the moment we stop using vendor. Can test from go-modules
branch and set GO111MODULE=on
in docker/Dockerfile
.
Thanks for the branch, I’ll work on it next week. I’ll keep you posted.
We should definitely have a separate branch for that. The transition to Go mod should be very smooth and thoroughly tested (lots of Stackoverflow horror stories). We should test building outside the GOPATH in a fresh install. As soon as @remingtonc get Travis running on the repo we can hopefully created a new Go Mod job.
Removing
go.mod
andgo.sum
per comments. Also related to #5 and the ongoingjsonpb
issues.@nleiva as someone who is contributing a bit, simply made you a contributor to keep it easy.