From 8722336fff479e00900e3299f31063a9d1a76e9a Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Fri, 20 Apr 2018 11:01:06 +0100 Subject: 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 --- plugin/errors/errors_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugin/errors/errors_test.go') diff --git a/plugin/errors/errors_test.go b/plugin/errors/errors_test.go index ce965ec6b..bc78f13d5 100644 --- a/plugin/errors/errors_test.go +++ b/plugin/errors/errors_test.go @@ -12,8 +12,9 @@ import ( "github.com/coredns/coredns/plugin/pkg/dnstest" "github.com/coredns/coredns/plugin/test" + "context" + "github.com/miekg/dns" - "golang.org/x/net/context" ) func TestErrors(t *testing.T) { -- cgit v1.2.3