From ac48b84d1bb5a2069b3c02845a946ef2d38a3236 Mon Sep 17 00:00:00 2001 From: Filip Figiel Date: Sat, 18 Aug 2018 21:02:23 +0200 Subject: [PATCH] Remove unused imports --- context_17_test.go | 11 ----------- render/render_17_test.go | 4 ---- 2 files changed, 15 deletions(-) diff --git a/context_17_test.go b/context_17_test.go index 5e2fe0fb..9768ab86 100644 --- a/context_17_test.go +++ b/context_17_test.go @@ -7,21 +7,10 @@ package gin import ( - "bytes" - "errors" - "fmt" - "html/template" - "mime/multipart" - "net/http" "net/http/httptest" - "reflect" - "strings" "testing" - "time" - "github.com/gin-contrib/sse" "github.com/stretchr/testify/assert" - "golang.org/x/net/context" ) // Tests that the response is serialized as JSON diff --git a/render/render_17_test.go b/render/render_17_test.go index 8386949d..3a38c468 100644 --- a/render/render_17_test.go +++ b/render/render_17_test.go @@ -7,14 +7,10 @@ package render import ( - "bytes" - "encoding/xml" - "html/template" "net/http/httptest" "testing" "github.com/stretchr/testify/assert" - "github.com/ugorji/go/codec" ) func TestRenderPureJSON(t *testing.T) {