feat: commit generated Go code, consume via go get instead of submodule

Add go.mod, buf.gen.yaml, and generated gen/kafkamgmt/v1 so consumers
fetch this module directly via go get against the self-hosted Forgejo
host, with no local buf/protoc plugin installation required. Add a
codegen-check CI job to keep gen/ in sync with proto/.
This commit is contained in:
riotpiaole
2026-06-21 19:40:12 -07:00
parent c42a5df536
commit 61555adc74
10 changed files with 2249 additions and 27 deletions
+17
View File
@@ -0,0 +1,17 @@
module forgejo.riotpiao.homelab.com/rock/kmsvc-proto
go 1.25.0
require (
github.com/grpc-ecosystem/grpc-gateway/v2 v2.29.0
google.golang.org/genproto/googleapis/api v0.0.0-20260618152121-87f3d3e198d3
google.golang.org/grpc v1.81.1
google.golang.org/protobuf v1.36.11
)
require (
golang.org/x/net v0.51.0 // indirect
golang.org/x/sys v0.42.0 // indirect
golang.org/x/text v0.36.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260610212136-7ab31c22f7ad // indirect
)