|
||
---|---|---|
README.md | ||
go.mod | ||
go.sum | ||
hello.md | ||
hello.proto | ||
main.go |
README.md
protoc-gen-markdown
install
go install git.apinb.com/bsm-tools/protoc-gen-markdown
generate markdown
protoc --markdown_out=Mhello.proto=./:. ./hello.proto
# set path prefix to /api
protoc --markdown_out=Mhello.proto=./,prefix=/api:. ./hello.proto