kmesh-net/kmesh

Make protobuf generated api file under same package with .proto

Open

#1,024 opened on Nov 8, 2024

View on GitHub
 (4 comments) (0 reactions) (1 assignee)Go (239 forks)auto 404
good first issuekind/enhancement

Repository metrics

Stars
 (739 stars)
PR merge metrics
 (PR metrics pending)

Description

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 to https://github.com/kmesh-net/kmesh/blob/52d8f9ef7de5641e2718d1e25b641ba416e2c65c/api/v2/workloadapi/workload.pb.go#L707, but it jump to https://github.com/kmesh-net/kmesh/blob/52d8f9ef7de5641e2718d1e25b641ba416e2c65c/api/workloadapi/workload.proto#L138

Contributor guide