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

error in go get or go build #8

Closed
iiaiiappa opened this issue Sep 5, 2019 · 4 comments
Closed

error in go get or go build #8

iiaiiappa opened this issue Sep 5, 2019 · 4 comments

Comments

@iiaiiappa
Copy link

error in go get or go build
go get -u -v gopkg.in/go-oauth2/redis.v3

# gopkg.in/go-oauth2/redis.v3 ..\..\gopath\pkg\mod\gopkg.in\go-oauth2\[email protected]\options.go:79:3: cannot use o.Dialer (type func(context.Context, string, string) (net.Conn, error)) as type func() (net.Conn, error) in field value
Related to this issue #7 error building go-oauth2 redis

Could anyone help fix this?
Thank you very much and have a good day!

@LyricTian
Copy link
Member

This bug has been fixed before, you can try it again.

@fr3fou
Copy link

fr3fou commented Sep 10, 2019

I'm having trouble too! What's up with this?

@iiaiiappa
Copy link
Author

iiaiiappa commented Sep 10, 2019

The bug is still not fixed. Quick fix is:
comment out the line 79 at:
<your gopath>\pkg\mod\gopkg.in\go-oauth2\[email protected]\options.go

//Dialer: o.Dialer,

Not sure what dialer is for.

@fr3fou
Copy link

fr3fou commented Sep 10, 2019

Should I fork it?

@iiaiiappa iiaiiappa closed this as not planned Won't fix, can't repro, duplicate, stale Oct 13, 2024
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