mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-21 16:58:08 +08:00
use context instead of x/net/context
This commit is contained in:
parent
4b6df417e4
commit
f7fcb2f05e
@ -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"
|
||||||
)
|
)
|
||||||
|
8
vendor/vendor.json
vendored
8
vendor/vendor.json
vendored
@ -88,12 +88,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",
|
||||||
@ -118,4 +112,4 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"rootPath": "github.com/gin-gonic/gin"
|
"rootPath": "github.com/gin-gonic/gin"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user