mirror of https://github.com/gin-gonic/gin.git
use context instead of x/net/context (#1922)
This commit is contained in:
parent
bfecd88fc4
commit
73c4633943
|
@ -6,6 +6,7 @@ package gin
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"html/template"
|
"html/template"
|
||||||
|
@ -24,7 +25,6 @@ import (
|
||||||
"github.com/gin-gonic/gin/binding"
|
"github.com/gin-gonic/gin/binding"
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"golang.org/x/net/context"
|
|
||||||
|
|
||||||
testdata "github.com/gin-gonic/gin/testdata/protoexample"
|
testdata "github.com/gin-gonic/gin/testdata/protoexample"
|
||||||
)
|
)
|
||||||
|
|
|
@ -90,12 +90,6 @@
|
||||||
"version": "v1.1",
|
"version": "v1.1",
|
||||||
"versionExact": "v1.1.4"
|
"versionExact": "v1.1.4"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"checksumSHA1": "GtamqiJoL7PGHsN454AoffBFMa8=",
|
|
||||||
"path": "golang.org/x/net/context",
|
|
||||||
"revision": "f4e77d36d62c17c2336347bb2670ddbd02d092b7",
|
|
||||||
"revisionTime": "2019-05-02T22:26:14Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"checksumSHA1": "2gaep1KNRDNyDA3O+KgPTQsGWvs=",
|
"checksumSHA1": "2gaep1KNRDNyDA3O+KgPTQsGWvs=",
|
||||||
"path": "golang.org/x/sys/unix",
|
"path": "golang.org/x/sys/unix",
|
||||||
|
|
Loading…
Reference in New Issue