Skip to content

Commit

Permalink
v2/search: Remove golang.org/x/net dependency
Browse files Browse the repository at this point in the history
Use standard context instead of golang.org/x/net/context, and remove dependency.

refs: golang#295
  • Loading branch information
sg0hsmt committed Mar 9, 2024
1 parent aabaab1 commit 7c93f5f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion v2/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ go 1.11

require (
github.com/golang/protobuf v1.5.0
golang.org/x/net v0.0.0-20220722155237-a158d28d115b
golang.org/x/text v0.3.8
google.golang.org/protobuf v1.30.0
)
1 change: 0 additions & 1 deletion v2/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b h1:PxfKdU9lEEDYjdIzOtC4qFWgkU2rGHdKlKowJSMN9h0=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
Expand Down
2 changes: 1 addition & 1 deletion v2/search/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ package search // import "google.golang.org/appengine/v2/search"
// time.Time)? _MAXIMUM_STRING_LENGTH?

import (
"context"
"errors"
"fmt"
"math"
Expand All @@ -22,7 +23,6 @@ import (
"unicode/utf8"

"github.com/golang/protobuf/proto"
"golang.org/x/net/context"

"google.golang.org/appengine/v2"
"google.golang.org/appengine/v2/internal"
Expand Down

0 comments on commit 7c93f5f

Please sign in to comment.