filterue

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIsSimpleType added in v0.35.0

func CheckIsSimpleType(schema *model.Schema) (bool, error)

func PopulateFuncMap

func PopulateFuncMap(fm template.FuncMap)

PopulateFuncMap fills the given FuncMap with the functions from this package.

func ToConstTypeString

func ToConstTypeString(prefix string, schema *model.Schema) (string, error)

func ToDefaultString

func ToDefaultString(prefix string, schema *model.Schema) (string, error)

func ToParamString

func ToParamString(schema *model.Schema, name string, prefix string) (string, error)

func ToReturnString

func ToReturnString(prefix string, schema *model.Schema) (string, error)

func ToTypeString

func ToTypeString(prefix string, schema *model.Schema) (string, error)

func ToVarString

func ToVarString(prefix string, node *model.TypedNode) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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