js

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateJsFile

func GenerateJsFile(gen *protogen.Plugin, file *protogen.File, tsDir string) *protogen.GeneratedFile

Types

type ApiParam

type ApiParam struct {
	// contains filtered or unexported fields
}

func (*ApiParam) GetLen

func (te *ApiParam) GetLen() int

func (*ApiParam) ToString

func (te *ApiParam) ToString(maxLen int) string

type JsEnum

type JsEnum struct {
	// contains filtered or unexported fields
}

func (*JsEnum) GetLen

func (te *JsEnum) GetLen() int

func (*JsEnum) ToString

func (te *JsEnum) ToString(maxLen int) string

type JsField

type JsField struct {
	Required bool
	IsList   bool
	// contains filtered or unexported fields
}

func (*JsField) ToString

func (tf *JsField) ToString(maxLen int) string

Jump to

Keyboard shortcuts

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