Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFunctionString ¶ added in v0.0.8
CreateFunctionString strips a string of any leading non-alphabetical chars, and all non-alphabetical and non-numerical characters that follow.
func NewGinServerTestConfig ¶ added in v0.0.8
func NewGoClientTestConfig ¶ added in v0.0.8
Types ¶
type Renderer ¶
func (*Renderer) GetOutputFilename ¶
func (g *Renderer) GetOutputFilename(n tree.NodeTraverser) string
func (*Renderer) GetTemplateFuncMap ¶
func (*Renderer) SanitiseName ¶
SanitiseName should consume the result of an NodeTraverser's .GetName() function. It creates a string array that is compliant to go function name restrictions and joins the result before returning a single string.
func (*Renderer) SanitiseType ¶
func (g *Renderer) SanitiseType(n tree.NodeTraverser) string
SanitiseType sanitizes the prepares the contents of the Type field of a node for use by the renderer
func (*Renderer) SetTemplateFuncMap ¶
Click to show internal directories.
Click to hide internal directories.