upgrade go-validator to v10 (#2149)

* upgrade go-validator to v10

* fix fmt
This commit is contained in:
Xudong Cai
2019-11-25 14:49:45 +08:00
committed by thinkerou
parent 3737520f17
commit e90e2ba9b3
4 changed files with 15 additions and 17 deletions

View File

@ -8,7 +8,7 @@ import (
"reflect"
"sync"
"gopkg.in/go-playground/validator.v9"
"github.com/go-playground/validator/v10"
)
type defaultValidator struct {

View File

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