Przeglądaj źródła

Update to standard library context package. (#275)

Chris Goller 9 lat temu
rodzic
commit
e514ff57e8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      protoc-gen-go/grpc/grpc.go

+ 1 - 1
protoc-gen-go/grpc/grpc.go

@@ -53,7 +53,7 @@ const generatedCodeVersion = 4
 // Paths for packages used by code generated in this file,
 // Paths for packages used by code generated in this file,
 // relative to the import_prefix of the generator.Generator.
 // relative to the import_prefix of the generator.Generator.
 const (
 const (
-	contextPkgPath = "golang.org/x/net/context"
+	contextPkgPath = "context"
 	grpcPkgPath    = "google.golang.org/grpc"
 	grpcPkgPath    = "google.golang.org/grpc"
 )
 )