diff --git a/static.go b/static.go index 2f40174..ffa00ee 100644 --- a/static.go +++ b/static.go @@ -1,11 +1,12 @@ package static import ( - "github.com/gin-gonic/gin" "net/http" "os" "path" "strings" + + "github.com/gin-gonic/gin" ) const INDEX = "index.html" diff --git a/static_test.go b/static_test.go index f725004..6925005 100644 --- a/static_test.go +++ b/static_test.go @@ -1,8 +1,6 @@ package static import ( - "github.com/gin-gonic/gin" - "github.com/stretchr/testify/assert" "io/ioutil" "net/http" "net/http/httptest" @@ -10,6 +8,9 @@ import ( "path" "path/filepath" "testing" + + "github.com/gin-gonic/gin" + "github.com/stretchr/testify/assert" ) func performRequest(r http.Handler, method, path string) *httptest.ResponseRecorder {