axetroy / go-upload

Go 文件上传模块,hash去重/图片缩略图/配置文件,自实现
Apache License 2.0
39 stars 14 forks source link

编译失败 undefined: sort.Slice #2

Open c527380322 opened 5 years ago

c527380322 commented 5 years ago

make all go build -v -o ./bin/server github.com/asaskevich/govalidator

github.com/asaskevich/govalidator

../../asaskevich/govalidator/types.go:27: undefined: sort.Slice make[1]: [all] Error 2 make: [build] Error 2

jwilk commented 5 years ago

What's your Go version? sort.Slice was added only in Go 1.8.

InQuartic commented 5 years ago

I have the same issue and I am using 1.11