标签:Golang

1 篇

Dynamic Protobuf in Go: Runtime Schema Hot-Reload via Custom protoc Plugin

This article separates offline Protocol Buffers schema compilation from runtime message handling in Go, without relying on pre-generated message structs. It walks through the full path from .proto file to runtime proto.Message via FileDescriptorProto, and presents a practical protoc plugin solution for hot-reloadable schema management.