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

gRPC version higher than v1.59 failed #151

Open
yeqown opened this issue Mar 6, 2024 · 0 comments
Open

gRPC version higher than v1.59 failed #151

yeqown opened this issue Mar 6, 2024 · 0 comments

Comments

@yeqown
Copy link

yeqown commented Mar 6, 2024

Env

go version: 1.19
os: darwin/arm64

Description

While my project contains the grpc versioned v1.61, goimports-reviser would faild with following message:

/Users/xxxx/.go/pkg/mod/google.golang.org/grpc@v1.60.1/internal/tcp_keepalive_unix.go:27:2: cannot find package
2024/03/05 16:58:51 Failed to fix file: package has an errors

I checked the file with the specified line which is
image

I also checked the package golang.org/x/sys/unix in the go module folder, it exists.

Final fixed

I tried downgrade the gRPC to v1.59.0, the problem disappeared. Is this an issue of gRPC or goimports-reviser ?

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

1 participant