2
0
mirror of https://github.com/soheilhy/cmux.git synced 2024-11-09 19:21:52 +08:00

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/...".
This commit is contained in:
Dmitri Shuralyov 2015-11-17 12:58:30 -08:00 committed by Soheil Hassas Yeganeh
parent 1734b4cc90
commit 44b568c84b
2 changed files with 3 additions and 3 deletions

View File

@ -13,8 +13,8 @@ import (
"golang.org/x/net/context" "golang.org/x/net/context"
"golang.org/x/net/websocket" "golang.org/x/net/websocket"
grpchello "github.com/grpc/grpc-go/examples/helloworld/helloworld"
"github.com/soheilhy/cmux" "github.com/soheilhy/cmux"
grpchello "google.golang.org/grpc/examples/helloworld/helloworld"
) )
type exampleHTTPHandler struct{} type exampleHTTPHandler struct{}

View File

@ -8,8 +8,8 @@ import (
"net/http" "net/http"
"strings" "strings"
"github.com/bradfitz/http2" "golang.org/x/net/http2"
"github.com/bradfitz/http2/hpack" "golang.org/x/net/http2/hpack"
) )
// Any is a Matcher that matches any connection. // Any is a Matcher that matches any connection.