-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
安装出错 #20
Comments
缺少的第三方依赖包已重新添加到 vendor/ 中,现在应该可以了。麻烦你重新拉取一下
|
还有错误 |
@weihuahuang 你是 windows 系统? |
是的 |
@weihuahuang Windows 的话,把这块代码放出来:https://github.com/EDDYCJY/go-gin-example/blob/master/main.go#L39-L48 平滑重启这块的代码 Windows 不支持,因此要注释掉:https://github.com/EDDYCJY/go-gin-example/blob/master/main.go#L51-L62 |
@weihuahuang 你环境上 |
删除了项目,重新拉取的时候报错。 github.com/EDDYCJY/go-gin-example/vendor/github.com/fvbock/endlesssrc\github.com\EDDYCJY\go-gin-example\vendor\github.com\fvbock\endless\endless.go:64:3: undefined: syscall.SIGUSR1 D:\server\gopath> github.com/EDDYCJY/go-gin-example/vendor/github.com/fvbock/endlesssrc\github.com\EDDYCJY\go-gin-example\vendor\github.com\fvbock\endless\endless.go:64:3: undefined: syscall.SIGUSR1 |
@weihua2018 你应该
|
另外如果你是 windows 系统的话,应该把如下代码打开注释:https://github.com/EDDYCJY/go-gin-example/blob/master/main.go#L36-L46 把 endless 的相关代码给注释了:https://github.com/EDDYCJY/go-gin-example/blob/master/main.go#L48-L59 |
package golang.org/x/image/math/fixed: unrecognized import path "golang.org/x/image/math/fixed" (https fetch: Get https://golang.org/x/image/math/fixed?go-get=1: dial tcp 216.239.3
7.1:443: connectex: 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.)
package golang.org/x/image/font: unrecognized import path "golang.org/x/image/font" (https fetch: Get https://golang.org/x/image/font?go-get=1: dial tcp 216.239.37.1:443: connectex
: 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 res
pond.)
The text was updated successfully, but these errors were encountered: