transform

package
v0.461.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EvalWithParam

func EvalWithParam(scriptBytes []byte, scriptPath string, param rel.Value) (rel.Value, error)

EvalWithParam returns the result of evaluating the function in the specified bytes, passing in the specified parameter.

func RunTests

func RunTests(scriptBytes []byte, testScriptPath string, param rel.Value) (test.File, error)

RunTests runs the test function in the specified string, passing in the specified param, and returns a populated test.File with the results.

Types

This section is empty.

Jump to

Keyboard shortcuts

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