abadojack / whatlanggo

Natural language detection library for Go
MIT License
637 stars 64 forks source link

Undefined Sort.SliceStable #2

Closed thiagozs closed 7 years ago

thiagozs commented 7 years ago

github.com/abadojack/whatlanggo

../../.gvm/pkgsets/go1.7.3/global/src/github.com/abadojack/whatlanggo/detect.go:120: undefined: sort.SliceStable ../../.gvm/pkgsets/go1.7.3/global/src/github.com/abadojack/whatlanggo/trigrams.go:31: undefined: sort.SliceStable

abadojack commented 7 years ago

The function sort.SliceStable was introduced in Go version 1.8. https://beta.golang.org/doc/go1.8#sort_slice. Update to Go 1.8 to use it.

thiagozs commented 7 years ago

Thank you. I will update for 1.8