converter

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertStruct

func ConvertStruct(structName string) string

Types

type TSConverter

type TSConverter struct {
	CustomTypes map[reflect.Type]string
	// contains filtered or unexported fields
}

func (*TSConverter) ParseType

func (c *TSConverter) ParseType(parent string, t reflect.Type) (string, string)

func (*TSConverter) TypeMap

func (c *TSConverter) TypeMap(parent string, typ reflect.Type) (string, *reflect.Type)

Jump to

Keyboard shortcuts

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