util

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolP added in v0.1.0

func BoolP(b bool) *bool

func Contains

func Contains[T comparable](slice []T, value T) bool

contains is a helper function that iterates over a slice and returns true if the given value is found

func Dedup

func Dedup[T comparable](s []T) []T

Dedup removes duplicate strings from a slice

func GetLeafOutputs

func GetLeafOutputs(dag []*dag.Node[dag.IOSpec]) []string

GetLeafOutputs returns the outputs of the leaf nodes in the DAG

func MapP

func MapP(m map[string]interface{}) *map[string]interface{}

func StrP

func StrP(s string) *string

Types

This section is empty.

Jump to

Keyboard shortcuts

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