agnivade / levenshtein

Go implementation to calculate Levenshtein Distance.
MIT License
358 stars 28 forks source link

go version 1.13 causing build errors #9

Closed EwanValentine closed 5 years ago

EwanValentine commented 5 years ago

Getting a build error in one of my project which has an indirect dependency on this repo, because the go version in your go.mod is set to go version 1.13, but this version doesn't seem to exist yet, so I can't upgrade to match? Any advice appreciated!

agnivade commented 5 years ago

What version are you using ? If you are using module-mode, then it will not work below 1.11.4.

EwanValentine commented 5 years ago

It's in an AWS Codebuild pipeline, which only supports up to 1.11, so that'll be it! Cheers, I'll try and find another option

agnivade commented 5 years ago

Just use GOPATH mode if you are below 1.11.4. Use module mode otherwise.