Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateFile ¶
func GenerateFile(ctx context.Context, req FileRequest) ([]byte, error)
func GenerateZip ¶
func GenerateZip(ctx context.Context, req ZipRequest) error
Types ¶
type FileRequest ¶
type FileRequest struct { // uuid of the current execution ExecutionUUID string // full path of the file to generate OutputFile string // Template name to use TemplateName string // Data will be passed to the template Data any // Funcs extra functions to pass to the template Funcs template.FuncMap // DisableGoFormat Should disable goformat DisableGoFormat bool }
type ZipRequest ¶
type ZipRequest struct { // uuid of the current execution ExecutionUUID string }
Click to show internal directories.
Click to hide internal directories.