golang.org/x/net/context.Context is stable since go1.7, context_test.go can use stand lib

This commit is contained in:
alex_023 2018-05-09 12:36:04 +08:00
parent bd4f73af67
commit 59fc0bce28
2 changed files with 1 additions and 8 deletions

View File

@ -19,7 +19,7 @@ import (
"github.com/gin-contrib/sse"
"github.com/stretchr/testify/assert"
"golang.org/x/net/context"
"context"
)
var _ context.Context = &Context{}

7
vendor/vendor.json vendored
View File

@ -95,13 +95,6 @@
"revision": "adbae1b6b6fb4b02448a0fc0dbbc9ba2b95b294d",
"revisionTime": "2017-06-19T06:03:41Z"
},
{
"checksumSHA1": "9jjO5GjLa0XF/nfWihF02RoH4qc=",
"comment": "release-branch.go1.7",
"path": "golang.org/x/net/context",
"revision": "d4c55e66d8c3a2f3382d264b08e3e3454a66355a",
"revisionTime": "2016-10-18T08:54:36Z"
},
{
"checksumSHA1": "S0DP7Pn7sZUmXc55IzZnNvERu6s=",
"path": "golang.org/x/sync/errgroup",