-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
the latest version can not build with go1.16, should update to go 1.17 #2713
Comments
Hi, thanks for your issue! I'm confused, but I think what you're saying is that you're trying to build with Go 1.16 and you're getting an error. I don't know what the shared screenshot is supposed to illustrate. I assume the error is here:
We currently only test with go 1.17 and go 1.18, but 1.16 sounds reasonable since we do expose a library. Would you be willing to contribute this fix? |
I have same problem. |
I believe this was broken with the release of version v2.10.2, when that fuzz file was introduced. See also https://stackoverflow.com/a/72455753/68707. All that needs to happen is to add a |
Thanks @johanbrandhorst. It looks like there's a similar case in |
I'm confused, I don't see any build tags in there? This file: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/examples/internal/proto/examplepb/a_bit_of_everything.pb.gw.go#L19? |
Oh, sorry, I was confused by the output of
It's referring to the build constraint of the imported package, which is the |
yeah, that is what wo want to say , |
PSA: Since 1.19 is released, the new release of the grpc-gateway will require Go 1.17+. I hope this is acceptable to you. |
🐛 Bug Report
To Reproduce
(Write your steps here:)
go build will fail, the error is "go:build comment without // +build "
Your Environment
go 1.16
The text was updated successfully, but these errors were encountered: