mirror of https://github.com/gin-gonic/gin.git
Move golang.org/x/net/context.Context interface implementation check to tests
This commit is contained in:
parent
eadf4da8f6
commit
ceb250ba20
|
@ -17,7 +17,6 @@ import (
|
|||
"github.com/gin-gonic/gin/binding"
|
||||
"github.com/gin-gonic/gin/render"
|
||||
"github.com/manucorporat/sse"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
// Content-Type MIME of the most common data formats
|
||||
|
@ -50,8 +49,6 @@ type Context struct {
|
|||
Accepted []string
|
||||
}
|
||||
|
||||
var _ context.Context = &Context{}
|
||||
|
||||
/************************************/
|
||||
/********** CONTEXT CREATION ********/
|
||||
/************************************/
|
||||
|
|
|
@ -17,8 +17,11 @@ import (
|
|||
|
||||
"github.com/manucorporat/sse"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
var _ context.Context = &Context{}
|
||||
|
||||
// Unit tests TODO
|
||||
// func (c *Context) File(filepath string) {
|
||||
// func (c *Context) Negotiate(code int, config Negotiate) {
|
||||
|
|
Loading…
Reference in New Issue