From 3045ffbbe3aadd46ccbf97644083a56008a4eac8 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Wed, 27 Mar 2019 12:25:07 -0700 Subject: [PATCH] Add github source for golang/x to Gopkg.toml Prevents removal of source in lock file. --- Gopkg.lock | 2 +- Gopkg.toml | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Gopkg.lock b/Gopkg.lock index b889e6f8c..cc00c787c 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -1311,8 +1311,8 @@ ] pruneopts = "" revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0" - version = "v0.3.0" source = "https://github.com/golang/text.git" + version = "v0.3.0" [[projects]] branch = "master" diff --git a/Gopkg.toml b/Gopkg.toml index cd7825ccb..d9475a504 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -189,10 +189,12 @@ [[constraint]] name = "golang.org/x/net" branch = "master" + source = "https://github.com/golang/net.git" [[constraint]] name = "golang.org/x/sys" branch = "master" + source = "https://github.com/golang/sys.git" [[constraint]] name = "google.golang.org/grpc" @@ -237,6 +239,7 @@ [[constraint]] branch = "master" name = "golang.org/x/oauth2" + source = "https://github.com/golang/oauth2.git" [[constraint]] branch = "master" @@ -265,3 +268,15 @@ [[constraint]] name = "github.com/go-logfmt/logfmt" version = "0.4.0" + +[[override]] + name = "golang.org/x/crypto" + source = "https://github.com/golang/crypto.git" + +[[override]] + name = "golang.org/x/sync" + source = "https://github.com/golang/sync.git" + +[[override]] + name = "golang.org/x/text" + source = "https://github.com/golang/text.git"