fix: import order.

This commit is contained in:
Bo-Yi Wu 2018-08-27 10:51:13 +08:00
parent 1d5ab15f82
commit 8cbcdde047
2 changed files with 5 additions and 3 deletions

View File

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

View File

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