See protogen <https://pkg.go.dev/google.golang.org/protobuf/compiler/protogen>.
It's a Go package developed by Google team to facilitate plugin development. It includes an explanation of the transformation functionality too. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/protobuf/a79c8a31-e7f9-4324-895f-ebe0c04ce505n%40googlegroups.com.
