Categorygithub.com/CrazyHulk/protoc-gen-html
modulepackage
0.0.0-20210426095004-deb2c26db05d
Repository: https://github.com/crazyhulk/protoc-gen-html.git
Documentation: pkg.go.dev

# README

protoc-gen-html

install

go get github.com/lvht/protoc-gen-markdown

generate html

protoc --html_out=. hello.proto
# set path prefix to /api
protoc --html_out=path_prefix=/api:. hello.proto

how to test

go build . && protoc --plugin=./protoc-gen-markdown --markdown_out=. activity.proto && mv activity.md activity.html

# Functions

Error print error and exit.
Fail print error and exit.