Skip to content

Commit

Permalink
use context instead of x/net/context (gin-gonic#1922)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkerou authored and ThomasObenaus committed Feb 19, 2020
1 parent e029737 commit baeafc2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package gin

import (
"bytes"
"context"
"errors"
"fmt"
"html/template"
Expand All @@ -24,7 +25,6 @@ import (
"github.com/gin-gonic/gin/binding"
"github.com/golang/protobuf/proto"
"github.com/stretchr/testify/assert"
"golang.org/x/net/context"

testdata "github.com/gin-gonic/gin/testdata/protoexample"
)
Expand Down
6 changes: 0 additions & 6 deletions vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,6 @@
"version": "v1.1",
"versionExact": "v1.1.4"
},
{
"checksumSHA1": "GtamqiJoL7PGHsN454AoffBFMa8=",
"path": "golang.org/x/net/context",
"revision": "f4e77d36d62c17c2336347bb2670ddbd02d092b7",
"revisionTime": "2019-05-02T22:26:14Z"
},
{
"checksumSHA1": "2gaep1KNRDNyDA3O+KgPTQsGWvs=",
"path": "golang.org/x/sys/unix",
Expand Down

0 comments on commit baeafc2

Please sign in to comment.