module
Version:
v0.0.0-...-9dc03d9
Opens a new window with list of versions in this module.
Published: Jul 10, 2022
License: MIT
Opens a new window with license information.
README
¶
protoc-gen-demo
a demo on how to make a minimal protobuf code generator
how to use
Build the generator
$ make build
go build -o protoc-gen-demo main.go
Use it with protoc
$ make demo
protoc --demo_out=demo --plugin protoc-gen-demo=protoc-gen-demo demo/demo.proto
go run ./cmd/demo
Hello, Demo!
Directories
¶
cmd
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.