Skip to content

Commit 3045ffb

Browse files
committed
Add github source for golang/x to Gopkg.toml
Prevents removal of source in lock file.
1 parent 5109847 commit 3045ffb

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

Gopkg.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,12 @@
189189
[[constraint]]
190190
name = "golang.org/x/net"
191191
branch = "master"
192+
source = "https://github.com/golang/net.git"
192193

193194
[[constraint]]
194195
name = "golang.org/x/sys"
195196
branch = "master"
197+
source = "https://github.com/golang/sys.git"
196198

197199
[[constraint]]
198200
name = "google.golang.org/grpc"
@@ -237,6 +239,7 @@
237239
[[constraint]]
238240
branch = "master"
239241
name = "golang.org/x/oauth2"
242+
source = "https://github.com/golang/oauth2.git"
240243

241244
[[constraint]]
242245
branch = "master"
@@ -265,3 +268,15 @@
265268
[[constraint]]
266269
name = "github.com/go-logfmt/logfmt"
267270
version = "0.4.0"
271+
272+
[[override]]
273+
name = "golang.org/x/crypto"
274+
source = "https://github.com/golang/crypto.git"
275+
276+
[[override]]
277+
name = "golang.org/x/sync"
278+
source = "https://github.com/golang/sync.git"
279+
280+
[[override]]
281+
name = "golang.org/x/text"
282+
source = "https://github.com/golang/text.git"

0 commit comments

Comments
 (0)