Don't use standard lib context package (#1468)
With Go 1.9 you *can* include the std lib's context package and nothing breaks. However we never officially made the move (and grpc also doesn't ues the std lib's one). Standardize all plugins on using the extern context package. Fixes #1466
This commit is contained in:
parent
449bb1ac6c
commit
f91cb61086
8 changed files with 9 additions and 9 deletions
|
@ -1,7 +1,6 @@
|
|||
package template
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"regexp"
|
||||
"testing"
|
||||
|
@ -13,6 +12,7 @@ import (
|
|||
|
||||
"github.com/mholt/caddy"
|
||||
"github.com/miekg/dns"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
func TestHandler(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue