Browse Source

fix(import): switch sse import from gopkg to github

Javier Provecho Fernandez 8 years ago
parent
commit
9a79e3f144
3 changed files with 3 additions and 3 deletions
  1. 1 1
      context.go
  2. 1 1
      context_test.go
  3. 1 1
      middleware_test.go

+ 1 - 1
context.go

@@ -16,9 +16,9 @@ import (
 	"strings"
 	"strings"
 	"time"
 	"time"
 
 
+	"github.com/gin-contrib/sse"
 	"github.com/gin-gonic/gin/binding"
 	"github.com/gin-gonic/gin/binding"
 	"github.com/gin-gonic/gin/render"
 	"github.com/gin-gonic/gin/render"
-	"gopkg.in/gin-contrib/sse.v0"
 )
 )
 
 
 // Content-Type MIME of the most common data formats
 // Content-Type MIME of the most common data formats

+ 1 - 1
context_test.go

@@ -17,9 +17,9 @@ import (
 	"testing"
 	"testing"
 	"time"
 	"time"
 
 
+	"github.com/gin-contrib/sse"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"golang.org/x/net/context"
 	"golang.org/x/net/context"
-	"gopkg.in/gin-contrib/sse.v0"
 )
 )
 
 
 var _ context.Context = &Context{}
 var _ context.Context = &Context{}

+ 1 - 1
middleware_test.go

@@ -9,8 +9,8 @@ import (
 	"strings"
 	"strings"
 	"testing"
 	"testing"
 
 
+	"github.com/gin-contrib/sse"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
-	"gopkg.in/gin-contrib/sse.v0"
 )
 )
 
 
 func TestMiddlewareGeneralCase(t *testing.T) {
 func TestMiddlewareGeneralCase(t *testing.T) {