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

编译报错 #3

Open
gaoyuanzong opened this issue Jun 13, 2018 · 4 comments
Open

编译报错 #3

gaoyuanzong opened this issue Jun 13, 2018 · 4 comments

Comments

@gaoyuanzong
Copy link

→ go build

github.com/ireaderlab/alex

./vegeta.go:453:35: not enough arguments in call to attacker.Attack
have (vegeta.Targeter, uint64, time.Duration)
want (vegeta.Targeter, uint64, time.Duration, string)

→ go version
go version go1.9.2 darwin/amd64

@robertXin
Copy link

没人解决吗?一样的问题

@liliang8858
Copy link

你们是不是windows上装的 我也是这问题

@liliang8858
Copy link

image
我是这样解决的,不知道是否有问题

@liliang8858
Copy link

dep ensure 命令报错
grouped write of manifest, lock and vendor: error while writing out vendor tree: failed to write dep tree: failed to export golang.org/x/sys: unable to deduce repository and source type for "golang.or g/x/sys": unable to read metadata: unable to fetch raw metadata: failed HTTP request to URL "http://golang.org/x/sys?go-get=1": Get http://golang.org/x/sys?go-get=1: dial tcp 216.239.37.1:80: connecte x: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

解决: 如果本地安装了 golang/x
image
注释掉 ,再次执行命令即可

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

3 participants