diff options
author | 2018-04-20 11:01:06 +0100 | |
---|---|---|
committer | 2018-04-20 11:01:06 +0100 | |
commit | 8722336fff479e00900e3299f31063a9d1a76e9a (patch) | |
tree | deb3d99aeae1d8543a3dbfd20bc36b4ef7daff1b /pb | |
parent | 61726b3721b6049f436841fe4c5f7db48d5a39d0 (diff) | |
download | coredns-8722336fff479e00900e3299f31063a9d1a76e9a.tar.gz coredns-8722336fff479e00900e3299f31063a9d1a76e9a.tar.zst coredns-8722336fff479e00900e3299f31063a9d1a76e9a.zip |
global: move to context (#1699)
* global: move to context
Move from golang.org/x/net/context to std lib's context.
Change done with:
for i in $(grep -l '/context' **/*.go); do sed -e 's|golang.org/x/net/context|context|' -i $i; echo $i; done
for i in **/*.go; do goimports -w $i; done
* drop from dns.pb.go as well
Diffstat (limited to 'pb')
-rw-r--r-- | pb/dns.pb.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pb/dns.pb.go b/pb/dns.pb.go index 3117102ab..0c75de94a 100644 --- a/pb/dns.pb.go +++ b/pb/dns.pb.go @@ -18,7 +18,8 @@ import fmt "fmt" import math "math" import ( - context "golang.org/x/net/context" + context "context" + grpc "google.golang.org/grpc" ) |