gravityblast/traffic

Error when trying "go get"

greivinlopez opened this issue · 1 comments

Hi, first of all I want to thank you for your great work.

I'm using your package in a development workstation based on Mac OSX, everything works great but when trying to install the package on my development server (Ubuntu 12.04 32bits) I get the following output:

go get github.com/pilu/traffic

/usr/lib/go/src/pkg/github.com/pilu/config/config.go:20: commentSplitRegexp.Split undefined (type *regexp.Regexp has no field or method Split)
/usr/lib/go/src/pkg/github.com/pilu/config/config.go:51: keyValueSplitRegexp.Split undefined (type *regexp.Regexp has no field or method Split)

I resolved the issue.

Sorry, I was using an old version of go. Updated it following this instructions:

https://code.google.com/p/go-wiki/wiki/Ubuntu

After updating the golang everything works as expected.

Thanks.