Documentation
¶
Overview ¶
Package funcmaps provides template functions for code and documentation generation.
This package contains all template helper functions used by both the code generator (for assert/require packages) and the documentation generator (for markdown docs).
The main entry point is FuncMap(), which returns a complete template.FuncMap with all available functions registered.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatMarkdown ¶
FormatMarkdown carries out a formatting of inline markdown in comments that handles:
func FuncMap ¶
FuncMap returns the complete template function map for code and documentation generation.
func PrintReturns ¶
func PrintReturns(vars model.Parameters) string
PrintReturns print a collection of model.Parameters as values returned by a function.
Types ¶
This section is empty.