Config files located at docs, But document content is generated by Action Bot
Check https://tuihub.github.io/Protos
go get github.com/tuihub/protos
npm install https://github.com/TuiHub/Protos
# Or
yarn add https://github.com/TuiHub/Protos
cargo add --git https://github.com/TuiHub/Protos
- Check Package page for pre-packed file
- Or pack locally
git clone https://github.com/TuiHub/Protos && cd Protos
# How to install `nuget`: https://docs.microsoft.com/en-us/nuget/install-nuget-client-tools
nuget pack TuiHub.Protos.nuspec
# pubspec.yaml
dependencies:
...
# Add following lines
tuihub_protos:
git: https://github.com/TuiHub/Protos.git
Not Recommended. You can focus on proto files and just use buf lint
to make sure proto files are correct. Action Bot will deal with the rest.
basic cli tool
compiler
language plugins
- Document: protoc-gen-doc
GO111MODULE=off go get github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
- Go:
GO111MODULE=off go get github.com/gogo/protobuf/protoc-gen-gofast
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
export PATH="$PATH:$(go env GOPATH)/bin"
- Js/Ts:
npm i
make generate