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

This commit is contained in:
Javier Provecho Fernandez 2017-06-27 23:17:02 +02:00
parent dc016d0bcb
commit 9a79e3f144
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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{}

View File

@ -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) {