module
Version:
v0.0.0-...-1b4415c
Opens a new window with list of versions in this module.
Published: Aug 28, 2019
License: MIT
Opens a new window with license information.
README
¶
protoc-gen-tsi
Generate TypeScript Interface from Protocol Buffers
.
Build
go build plugin/src/protoc-gen-tsi.go
Usage
protoc --plugin="protoc-gen-tsi=protoc-gen-tsi" --tsi_out="./output" input1.proto input2.proto inputN.proto
Generate interface only.
protoc --plugin="protoc-gen-tsi=protoc-gen-tsi" --tsi_out="client=false:./output" input1.proto input2.proto inputN.proto
Unuse optional.
protoc --plugin="protoc-gen-tsi=protoc-gen-tsi" --tsi_out="nonull=true:./output" input1.proto input2.proto inputN.proto
License
MIT
Directories
¶
plugin
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.