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 package static
import ( import (
"github.com/gin-gonic/gin"
"net/http" "net/http"
"os" "os"
"path" "path"
"strings" "strings"
"github.com/gin-gonic/gin"
) )
const INDEX = "index.html" const INDEX = "index.html"

View File

@ -1,8 +1,6 @@
package static package static
import ( import (
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert"
"io/ioutil" "io/ioutil"
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"
@ -10,6 +8,9 @@ import (
"path" "path"
"path/filepath" "path/filepath"
"testing" "testing"
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert"
) )
func performRequest(r http.Handler, method, path string) *httptest.ResponseRecorder { func performRequest(r http.Handler, method, path string) *httptest.ResponseRecorder {