From 36204b7539e2278b369ad6370629899814642ca0 Mon Sep 17 00:00:00 2001 From: Kevin Bai Date: Sun, 5 May 2019 11:35:43 +0800 Subject: [PATCH] Update go.mod add 'replace' directive at go.mod file for China. --- go.mod | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/go.mod b/go.mod index ff2aa333..7c066773 100644 --- a/go.mod +++ b/go.mod @@ -6,3 +6,12 @@ require ( github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734 ) + +replace ( + golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 => github.com/golang/crypto v0.0.0-20190308221718-c2843e01d9a2 + golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734 => github.com/golang/crypto v0.0.0-20190426145343-a29dc8fdc734 + golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 => github.com/golang/net v0.0.0-20190404232315-eb5bcb51f2a3 + golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a => github.com/golang/sys v0.0.0-20190215142949-d0b11bdaac8a + golang.org/x/sys v0.0.0-20190412213103-97732733099d => github.com/golang/sys v0.0.0-20190412213103-97732733099d + golang.org/x/text v0.3.0 => github.com/golang/text v0.3.0 +)