Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoTemplate ¶
GoTemplate is a struct for the Go template
func NewGoTemplate ¶
func NewGoTemplate(cmd *curl.Command, resp string) GoTemplate
NewGoTemplate creates a new GoTemplate
func (GoTemplate) ExecuteGoTemplate ¶
func (h GoTemplate) ExecuteGoTemplate(useInlineStructs bool) (string, error)
ExecuteGoTemplate executes the Go template
func (GoTemplate) GenerateClientCode ¶
func (h GoTemplate) GenerateClientCode() (string, error)
GenerateClientCode generates the client code which can be inserted into a function or method
Click to show internal directories.
Click to hide internal directories.