Documentation ¶ Index ¶ func GenerateTsFile(gen *protogen.Plugin, file *protogen.File, tsDir string) *protogen.GeneratedFile type TsEnum func (te *TsEnum) GetLen() int func (te *TsEnum) ToString(maxLen int) string type TsField func (tf *TsField) ToString(maxLen int) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GenerateTsFile ¶ func GenerateTsFile(gen *protogen.Plugin, file *protogen.File, tsDir string) *protogen.GeneratedFile Types ¶ type TsEnum ¶ type TsEnum struct { // contains filtered or unexported fields } func (*TsEnum) GetLen ¶ func (te *TsEnum) GetLen() int func (*TsEnum) ToString ¶ func (te *TsEnum) ToString(maxLen int) string type TsField ¶ type TsField struct { Required bool IsList bool // contains filtered or unexported fields } func (*TsField) ToString ¶ func (tf *TsField) ToString(maxLen int) string Source Files ¶ View all Source files ts.go Click to show internal directories. Click to hide internal directories.