You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having generated a malformed go.mod file**, an incorrect replace block produces error messages which appear to be missing newlines.
What version of Go are you using (go version)?
$ go version
go version go1.11rc1 linux/amd64
What did you expect to see?
Better formatted error messages, similar to what my malformed require block produced.
What did you see instead?
[k9 libconfig (master)] $ go build
go: errors parsing go.mod:
/home/hoenig/Documents/go/src/indeed/gophers/libconfig/go.mod:4: usage: require module/path v1.2.3
/home/hoenig/Documents/go/src/indeed/gophers/libconfig/go.mod:5: usage: require module/path v1.2.3
/home/hoenig/Documents/go/src/indeed/gophers/libconfig/go.mod:6: usage: require module/path v1.2.3
/home/hoenig/Documents/go/src/indeed/gophers/libconfig/go.mod:10: replacement module without version must be directory path (rooted or starting with ./ or ../)/home/hoenig/Documents/go/src/indeed/gophers/libconfig/go.mod:11: replacement module without version must be directory path (rooted or starting with ./ or ../)/home/hoenig/Documents/go/src/indeed/gophers/libconfig/go.mod:12: replacement module without version must be directory path (rooted or starting with ./ or ../)
** I'm working out how to adapt our internal tooling to work with modules while migrating from our gross monstrosity of a dependency manager; never mind the malformed-ness.
The text was updated successfully, but these errors were encountered:
Having generated a malformed
go.mod
file**, an incorrectreplace
block produces error messages which appear to be missing newlines.What version of Go are you using (
go version
)?What did you expect to see?
Better formatted error messages, similar to what my malformed
require
block produced.What did you see instead?
Seems like that last line should be 3 lines.
The bad
go.mod
file:** I'm working out how to adapt our internal tooling to work with modules while migrating from our gross monstrosity of a dependency manager; never mind the malformed-ness.
The text was updated successfully, but these errors were encountered: