typescript

package
v0.0.34 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TranslateReflectTypeString

func TranslateReflectTypeString(reflectTypeString string) string

Types

type Field

type Field struct {
	Name     string
	Type     string
	Optional bool
	Null     bool
}

func (Field) String

func (f Field) String() string

type Interface

type Interface struct {
	Name   string
	Fields []Field
}

func (Interface) String

func (i Interface) String() string

type Interfaces

type Interfaces []Interface

func Generate

func Generate(goStructs map[string]interface{}) Interfaces

func (Interfaces) CreateFile

func (i Interfaces) CreateFile(targetFile string) error

Jump to

Keyboard shortcuts

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