Closed cristinaleonr closed 3 years ago
parser/testdata/go.mod, line 0 at r1 (raw file):
We don't actually need this go.mod
file because we can remove all *.paris
files from the testdata
directory because we no longer use or support paris-traceroute
.
I will send you a PR to remove those files.
We should get rid of the *.paris
test files.
When trying to import github.com/m-lab/traceroute-caller/parser, the following error gets thrown:
cristinaleon@cristinaleon:~/go/src/github.com/m-lab/etl$ go get -v github.com/m-lab/traceroute-caller/parser
go: downloading github.com/m-lab/traceroute-caller v0.9.0
go get github.com/m-lab/traceroute-caller/parser: create zip:
parser/testdata/20130524T00:04:44Z_ALL5729.paris: malformed file path
"parser/testdata/20130524T00:04:44Z_ALL5729.paris": invalid char ':'
This is because some of the names of the files under testdata include colons. I found this solution to put a go.mod file in the directory so that it's treated as a separate module when importing parser.
This change is![Reviewable](https://reviewable.io/review_button.svg)