From 9a79e3f14410ede6073c587b31d72630444896d0 Mon Sep 17 00:00:00 2001 From: Javier Provecho Fernandez Date: Tue, 27 Jun 2017 23:17:02 +0200 Subject: [PATCH] fix(import): switch sse import from gopkg to github --- context.go | 2 +- context_test.go | 2 +- middleware_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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) {