diff --git a/context.go b/context.go index c5ff7937..7e862128 100644 --- a/context.go +++ b/context.go @@ -16,9 +16,9 @@ import ( "strings" "time" + "github.com/gin-contrib/sse" "github.com/gin-gonic/gin/binding" "github.com/gin-gonic/gin/render" - "gopkg.in/gin-contrib/sse.v0" ) // Content-Type MIME of the most common data formats diff --git a/context_test.go b/context_test.go index e8cea05d..9a294c52 100644 --- a/context_test.go +++ b/context_test.go @@ -17,9 +17,9 @@ import ( "testing" "time" + "github.com/gin-contrib/sse" "github.com/stretchr/testify/assert" "golang.org/x/net/context" - "gopkg.in/gin-contrib/sse.v0" ) var _ context.Context = &Context{} diff --git a/middleware_test.go b/middleware_test.go index 0c56f4e4..5572e790 100644 --- a/middleware_test.go +++ b/middleware_test.go @@ -9,8 +9,8 @@ import ( "strings" "testing" + "github.com/gin-contrib/sse" "github.com/stretchr/testify/assert" - "gopkg.in/gin-contrib/sse.v0" ) func TestMiddlewareGeneralCase(t *testing.T) {