From 1b025e927b61dd1050b85f42179b24f49ddcb077 Mon Sep 17 00:00:00 2001 From: Casey Buto Date: Mon, 26 Jun 2023 15:11:13 -0400 Subject: [PATCH] chore: use std lib context (#823) --- go.mod | 2 +- google.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index eb3f7b21..3950ce6a 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,6 @@ require ( github.com/tencentyun/cos-go-sdk-v5 v0.7.35 go.etcd.io/etcd/client/pkg/v3 v3.5.4 go.etcd.io/etcd/client/v3 v3.5.4 - golang.org/x/net v0.1.0 google.golang.org/api v0.82.0 ) @@ -57,6 +56,7 @@ require ( go.uber.org/multierr v1.8.0 // indirect go.uber.org/zap v1.21.0 // indirect golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect + golang.org/x/net v0.1.0 // indirect golang.org/x/oauth2 v0.0.0-20220524215830-622c5d57e401 // indirect golang.org/x/sys v0.1.0 // indirect golang.org/x/text v0.4.0 // indirect diff --git a/google.go b/google.go index 1fcf52df..9a82aaf7 100644 --- a/google.go +++ b/google.go @@ -17,11 +17,11 @@ limitations under the License. package storage import ( + "context" "io/ioutil" pathutil "path" "cloud.google.com/go/storage" - "golang.org/x/net/context" "google.golang.org/api/iterator" )