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 get 时候报错 undefined: clog.CONSOLE #59

Closed
syumi-1 opened this issue Feb 4, 2020 · 3 comments
Closed

go get 时候报错 undefined: clog.CONSOLE #59

syumi-1 opened this issue Feb 4, 2020 · 3 comments

Comments

@syumi-1
Copy link

syumi-1 commented Feb 4, 2020

PS D:\WorkSpace\GO\proxy> go get -u github.com/henson/proxypool
github.com/henson/proxypool/pkg/setting

D:\DevEnv\GOPATH\src\github.com\henson\proxypool\pkg\setting\setting.go:61:11: undefined: clog.CONSOLE
D:\DevEnv\GOPATH\src\github.com\henson\proxypool\pkg\setting\setting.go:61:43: cannot use clog.ConsoleConfig literal (type clog.ConsoleConfig) as type clog.Initer in argument to clog.New
D:\DevEnv\GOPATH\src\github.com\henson\proxypool\pkg\setting\setting.go:65:14: cannot use 2 (type int) as type string in argument to clog.Fatal
D:\DevEnv\GOPATH\src\github.com\henson\proxypool\pkg\setting\setting.go:89:14: cannot use 2 (type int) as type string in argument to clog.Fatal
D:\DevEnv\GOPATH\src\github.com\henson\proxypool\pkg\setting\setting.go:98:14: cannot use 2 (type int) as type string in argument to clog.Fatal
D:\DevEnv\GOPATH\src\github.com\henson\proxypool\pkg\setting\setting.go:105:14: cannot use 2 (type int) as type string in argument to clog.Fatal
D:\DevEnv\GOPATH\src\github.com\henson\proxypool\pkg\setting\setting.go:137:27: undefined: clog.LEVEL
D:\DevEnv\GOPATH\src\github.com\henson\proxypool\pkg\setting\setting.go:148:15: cannot use 2 (type int) as type string in argument to clog.Fatal
D:\DevEnv\GOPATH\src\github.com\henson\proxypool\pkg\setting\setting.go:162:10: undefined: clog.MODE
D:\DevEnv\GOPATH\src\github.com\henson\proxypool\pkg\setting\setting.go:163:8: undefined: clog.CONSOLE
D:\DevEnv\GOPATH\src\github.com\henson\proxypool\pkg\setting\setting.go:163:8: too many errors

@sndnvaps
Copy link
Contributor

sndnvaps commented Feb 4, 2020

@syumi-1
就这问题,我提交了个 pr #60 合并后,就能解决了。

@syumi-1
Copy link
Author

syumi-1 commented Feb 4, 2020

@sndnvaps
好的 知道了 谢谢

@syumi-1 syumi-1 closed this as completed Feb 4, 2020
@sndnvaps
Copy link
Contributor

sndnvaps commented Feb 5, 2020

@syumi-1 提交的补丁已经合并。

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