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

win system go module #48

Closed
TOBEMINE opened this issue Dec 27, 2019 · 6 comments
Closed

win system go module #48

TOBEMINE opened this issue Dec 27, 2019 · 6 comments
Assignees
Labels
help wanted Extra attention is needed question Further information is requested waiting for response waiting for the response from commenter

Comments

@TOBEMINE
Copy link

github.com/panjf2000/gnet

D:\GoWorks\pkg\mod\github.com\panjf2000\gnet@v0.1.3\gnet.go:129:4: undefined: sniffError
D:\GoWorks\pkg\mod\github.com\panjf2000\gnet@v0.1.3\gnet.go:159:14: too many arguments in call to serve
have (Events, []*listener, bool)
want (Events, []*listener)

@TOBEMINE TOBEMINE added help wanted Extra attention is needed question Further information is requested labels Dec 27, 2019
@panjf2000
Copy link
Owner

You should get the latest version of gnet: go get -u github.com/panjf2000/gnet

@panjf2000 panjf2000 added the waiting for response waiting for the response from commenter label Dec 27, 2019
@TOBEMINE
Copy link
Author

D:\GoWorks>go get -u github.com/panjf2000/gnet
go: finding github.com/smartystreets-prototypes/go-disruptor latest
go: finding golang.org/x/sys latest

github.com/panjf2000/gnet

pkg\mod\github.com\panjf2000\gnet@v0.1.3\gnet.go:129:4: undefined: sniffError
pkg\mod\github.com\panjf2000\gnet@v0.1.3\gnet.go:159:14: too many arguments in call to serve
have (Events, []*listener, bool)
want (Events, []*listener)

D:\GoWorks>

@panjf2000
Copy link
Owner

That is odd, try: go get -u

@TOBEMINE
Copy link
Author

I try it ,by now,the same problem

@panjf2000
Copy link
Owner

What about go get -u github.com/panjf2000/gnet@v1.0.0-rc.4?

@TOBEMINE
Copy link
Author

It works,thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested waiting for response waiting for the response from commenter
Projects
None yet
Development

No branches or pull requests

2 participants