Documentation ¶
Index ¶
- func CheckIsSimpleType(schema *model.Schema) (bool, error)
- func PopulateFuncMap(fm template.FuncMap)
- func ToConstTypeString(prefix string, schema *model.Schema) (string, error)
- func ToDefaultString(prefix string, schema *model.Schema) (string, error)
- func ToParamString(schema *model.Schema, name string, prefix string) (string, error)
- func ToReturnString(prefix string, schema *model.Schema) (string, error)
- func ToTestValueString(prefix string, schema *model.Schema) (string, error)
- func ToTypeString(prefix string, schema *model.Schema) (string, error)
- func ToVarString(prefix string, node *model.TypedNode) (string, error)
- type UeExtern
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIsSimpleType ¶ added in v0.35.0
func PopulateFuncMap ¶
PopulateFuncMap fills the given FuncMap with the functions from this package.
func ToConstTypeString ¶
func ToParamString ¶
func ToTestValueString ¶ added in v0.38.2
ToTestValueString returns the test value string for a given schema. We intentionally ignore arrays in order to return the test value of the inner type.
Types ¶
Click to show internal directories.
Click to hide internal directories.