-
Notifications
You must be signed in to change notification settings - Fork 70
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
add support to go 1.18 #199
Comments
Hello, thanks for your feedback on this. I'll look into this and once a fix is ready, I'll link the PR to this issue.
|
This was referenced May 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
Using go 1.18, I am able to install with success this module via
go get
. However if I try to run the tests for this particular repository viamake test
(using master) I got this:The issue is about this line:
nebula-go/nebula/graph/graph_service-remote/graph_service-remote.go
Line 17 in cdb5239
also
nebula-go/nebula/meta/meta_service-remote/meta_service-remote.go
Line 17 in cdb5239
nebula-go/nebula/storage/graph_storage_service-remote/graph_storage_service-remote.go
Line 17 in cdb5239
nebula-go/nebula/storage/storage_admin_service-remote/storage_admin_service-remote.go
Line 17 in cdb5239
It seems an easy thing to fix (just remove the ../.. in the import), however this code is Autogenerated by Thrift Compiler.
Since this is an issue with how the latest versions of go handle the module versus gopath mode and I did not find an easy command line option to fix it, I search and see that the tests are running using go 1.13 - last released was on 2020-08-06. It is no longer support.
Use
make test
using the current go version available is something that 99% of the people who wants to contribute will do. If there is a specific requirement to run tests will be nice add a note (or add a section / page about this).Questions
Thanks
The text was updated successfully, but these errors were encountered: