filterts

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PopulateFuncMap

func PopulateFuncMap(fm template.FuncMap)

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

func ToDefaultString

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

ToDefaultString returns the default value for a type

func ToParamString

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

func ToReturnString

func ToReturnString(schema *model.Schema, prefix string) (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