helpers

package
v0.1.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const INVALID_STEP_DEFINITION = "invalid step definition"

Variables

This section is empty.

Functions

func CreateStepsMap

func CreateStepsMap(stepsArray []interface{}) (map[string]interface{}, error)

func ExtractParams

func ExtractParams(pathParams map[string]string, queryParams map[string][]string) map[string]interface{}

func FillResponseHeaders

func FillResponseHeaders(responseHeaders http.Header, w http.ResponseWriter)

func RemoveNull

func RemoveNull(input interface{}) interface{}

func Replace

func Replace(input string, stepOutputs interface{}) string

func SetupLogging

func SetupLogging()

func TransformArray

func TransformArray(inputArray []interface{}, output map[string]interface{}) []interface{}

func TransformBody

func TransformBody(body interface{}, output interface{}) interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL