utils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckErr

func CheckErr(err error)

CheckErr checks if an error value is not nil and runs log.Fatalln for the error.

func FailParse

func FailParse(errs []*parser.Error)

FailParse prints all the errors with the same line number as `errs[0]` and exits with code 1.

func RunFunc

func RunFunc(funcCall ast.Expr, functions map[string]func([]*ast.Expr) (ast.Expr, error)) (ast.Expr, error)

RunFunc contains the functionality for running an Orion function.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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