golang / protobuf

Go support for Google's protocol buffers
BSD 3-Clause "New" or "Revised" License
9.64k stars 1.58k forks source link

How to merge all proto files in single file #1577

Closed nmiculinic closed 7 months ago

nmiculinic commented 7 months ago

I couldn't find a good way to do it. Basically I want to merge/resolve all imports of https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/trace/v1/trace.proto for usage within clickhouse:

https://clickhouse.com/docs/en/interfaces/formats#protobuf

since I'm not sure whether import/search paths are supported

stapelberg commented 7 months ago

This sounds like a question for the Protobuf project, not the Go Protobuf implementation specifically.

Could you ask this question over at https://github.com/protocolbuffers/protobuf/issues please? (Or maybe it’s more of a question for Clickhouse support?)