With this line in go.mod:

require github.com/labstack/echo v3.3.5

For go mod tidy it fails with:

go: finding github.com/labstack/echo v3.3.5
go: errors parsing go.mod:
/home/path-to/draftmod/go.mod:6: invalid module version "v3.3.5": unknown 
revision v3.3.5

But if the line get changed to:

require github.com/labstack/echo v3.0.0

Then go mod tidy works and the package dependency line, changes into:

github.com/labstack/echo v3.0.0+incompatible

Why?(Current module directory is outside `$GOPATH`)

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to