agnivade / levenshtein

Go implementation to calculate Levenshtein Distance.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go version 1.13 causing build errors

EwanValentine opened this issue · comments

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!

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

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

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