Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go version go1.2.1 linux/amd64 causes the following errors #105

Closed
agenteo opened this issue Dec 16, 2014 · 2 comments
Closed

go version go1.2.1 linux/amd64 causes the following errors #105

agenteo opened this issue Dec 16, 2014 · 2 comments

Comments

@agenteo
Copy link

agenteo commented Dec 16, 2014

Hi,

ubuntu 14.04 uses go version go1.2.1 linux/amd64 causes the following errors:

ubuntu@ip:~/workspace$ go get github.com/tsenart/vegeta
# github.com/tsenart/vegeta/lib
src/github.com/tsenart/vegeta/lib/attack.go:45: unknown net.Dialer field 'KeepAlive' in struct literal
src/github.com/tsenart/vegeta/lib/attack.go:54: unknown http.Transport field 'TLSHandshakeTimeout' in struct literal
src/github.com/tsenart/vegeta/lib/attack.go:113: a.dialer.KeepAlive undefined (type *net.Dialer has no field or method KeepAlive)
ubuntu@ip:~/workspace$ go install github.com/tsenart/vegeta
# github.com/tsenart/vegeta/lib
src/github.com/tsenart/vegeta/lib/attack.go:45: unknown net.Dialer field 'KeepAlive' in struct literal
src/github.com/tsenart/vegeta/lib/attack.go:54: unknown http.Transport field 'TLSHandshakeTimeout' in struct literal
src/github.com/tsenart/vegeta/lib/attack.go:113: a.dialer.KeepAlive undefined (type *net.Dialer has no field or method KeepAlive)

what's the recommended go version to install vegeta?

@tsenart
Copy link
Owner

tsenart commented Dec 17, 2014

I think these fields were introduced in Go 1.3. However, why don't you download a pre-compiled release instead? https://github.com/tsenart/vegeta/releases/tag/v5.5.0

@agenteo
Copy link
Author

agenteo commented Dec 17, 2014

sounds good, I missed that from the README!

@agenteo agenteo closed this as completed Dec 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants