On Thu, Feb 6, 2020 at 9:51 AM Dax McDonald <daxm...@gmail.com> wrote: > > Hit a small snag while using Go 1.14. > Running go1.14beta1 build main.go on our project, github.com/rancher/rio > results in > > go: github.com/StrongMonkey/linkerd2@v0.0.0-20191021165729-976fad67457a: > parsing go.mod: go.mod:3: usage: go 1.23 > > It looks like we are hitting https://github.com/golang/go/issues/36319 but > the go.mod file in the fork seems to require 1.12.9 which makes me think it > is a different issue. > > https://github.com/StrongMonkey/linkerd2/blob/webhook/go.mod > > I wasn't sure if this rose the level of being an actual bug or just incorrect > usage of the go.mod file. This does not happen with Go 1.13.4 > > Please let me know if this isn't the right place to post this.
The file https://github.com/StrongMonkey/linkerd2/blob/master/go.mod is using an invalid syntax. It says "go 1.12.9", but the format is "go MAJOR.MINOR". So "go 1.12" would be OK but "go 1.12.9" is not. I assume that someone wrote that line manually. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcV-KOOBVL3rj0edFhehDbc%2BP2yEV7eR%3DyPDUoobpfE3iA%40mail.gmail.com.