From 44b568c84b23bda9f013eb2c0baf61b1ec478cbf Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Tue, 17 Nov 2015 12:58:30 -0800 Subject: [PATCH] Update to correct vanity import paths. The latest canonical import path for http2 package is "golang.org/x/net/http2". The latest canonical import path for grpc examples is "google.golang.org/grpc/examples/...". --- example_test.go | 2 +- matchers.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example_test.go b/example_test.go index 42c0190..bcda8f3 100644 --- a/example_test.go +++ b/example_test.go @@ -13,8 +13,8 @@ import ( "golang.org/x/net/context" "golang.org/x/net/websocket" - grpchello "github.com/grpc/grpc-go/examples/helloworld/helloworld" "github.com/soheilhy/cmux" + grpchello "google.golang.org/grpc/examples/helloworld/helloworld" ) type exampleHTTPHandler struct{} diff --git a/matchers.go b/matchers.go index 33a0667..93913f1 100644 --- a/matchers.go +++ b/matchers.go @@ -8,8 +8,8 @@ import ( "net/http" "strings" - "github.com/bradfitz/http2" - "github.com/bradfitz/http2/hpack" + "golang.org/x/net/http2" + "golang.org/x/net/http2/hpack" ) // Any is a Matcher that matches any connection.