ts

package
v1.4.1-old Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL