filtercpp

package
v0.15.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const GPL_LIC = `` /* 659-byte string literal not displayed */

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

ToDefaultString returns the default value for a type

func ToParamString

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

func ToReturnString

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

func ToVarString added in v0.13.13

func ToVarString(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