You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we make the https://github.com/kmesh-net/kmesh/tree/main/api/workloadapi generated files into https://github.com/kmesh-net/kmesh/tree/main/api/v2/workloadapi. It does work well from fdunctionality, in my local dev IDE, goland/vscode, the code navigation does not work well, when i want to naviagate to
I was working on this and I believe the goal is to generate the workload.pb.go file inside kmesh/api/workloadapi (please correct me if I'm wrong). In the meantime, I manually used the following command:
protoc --proto_path=kmesh/api --go_out=kmesh/api/workloadapi --go_opt=paths=source_relative kmesh/api/workloadapi/workload.proto
This successfully generated the workload.pb.go file in the correct directory.
I manually ran the command because when I tried to use make gen-proto, it failed with the error Unsupported architecture: arm64. It would be really helpful if you could guide me on how to resolve this and run make successfully.
I also checked the install-protoc and other shell files, and I’m wondering if leveraging those might help me generate the files as intended. Any suggestions or guidance would be appreciated!
What would you like to be added:
Currently we make the
https://github.com/kmesh-net/kmesh/tree/main/api/workloadapi
generated files into https://github.com/kmesh-net/kmesh/tree/main/api/v2/workloadapi. It does work well from fdunctionality, in my local dev IDE, goland/vscode, the code navigation does not work well, when i want to naviagate tokmesh/api/v2/workloadapi/workload.pb.go
Line 707 in 52d8f9e
kmesh/api/workloadapi/workload.proto
Line 138 in 52d8f9e
The text was updated successfully, but these errors were encountered: