style(import): not use aliase when import package (#1146)

This commit is contained in:
田欧 2017-10-29 20:12:22 +08:00 committed by Javier Provecho Fernandez
parent 1e88466d23
commit b7e8a6b9b0
4 changed files with 4 additions and 9 deletions

View File

@ -7,7 +7,7 @@ package binding
import (
"net/http"
validator "gopkg.in/go-playground/validator.v8"
"gopkg.in/go-playground/validator.v8"
)
const (

View File

@ -10,9 +10,7 @@ import (
"github.com/gin-gonic/gin/json"
)
var (
EnableDecoderUseNumber = false
)
var EnableDecoderUseNumber = false
type jsonBinding struct{}

View File

@ -4,9 +4,7 @@
package binding
import (
"net/http"
)
import "net/http"
type queryBinding struct{}

View File

@ -10,9 +10,8 @@ import (
"testing"
"time"
validator "gopkg.in/go-playground/validator.v8"
"github.com/stretchr/testify/assert"
"gopkg.in/go-playground/validator.v8"
)
type testInterface interface {