generate

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClassDeps added in v1.1.0

func GetClassDeps(t *types.Struct, supportMultiInheritance bool) (string, error)

func GetName

func GetName(p string) string

func GetStructDeps

func GetStructDeps(t *types.Struct) *[]string

func GetStructTagJSON

func GetStructTagJSON(t *types.Struct, i int) (tag string, omitempty bool)

func IndentStr

func IndentStr(indent int) string

func IsTranslatable

func IsTranslatable(t types.Type) bool

Check if json has a type for t and if it is worth getting the named type

func TurnTypeOptional added in v1.1.1

func TurnTypeOptional(t types.Type) types.Type

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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