util

package
v0.0.0-...-3a98d3a Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package util contains common utility functions.

Package util contains common utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrependString

func PrependString(newElem string, arr []string) []string

PrependString returns an array with an element at the beginning.

func UnorderedContains

func UnorderedContains(arr, has []string) bool

UnorderedContains checks that arr has certain elements.

func UnorderedEqual

func UnorderedEqual(a, b []string) bool

UnorderedEqual checks that the two arrays contain the same elements, but they don't have to be the same order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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