Open c527380322 opened 5 years ago
make all go build -v -o ./bin/server github.com/asaskevich/govalidator
../../asaskevich/govalidator/types.go:27: undefined: sort.Slice make[1]: [all] Error 2 make: [build] Error 2
What's your Go version? sort.Slice was added only in Go 1.8.
I have the same issue and I am using 1.11
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