utils

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendIfMissingStringSlice

func AppendIfMissingStringSlice(slice []string, str string) []string

AppendIfMissingStringSlice - appends a string to a slice if it is not present

func IsStringInSlice

func IsStringInSlice(slice []string, str string) bool

IsStringInSlice - Returns true if a string is present in a slice

func RemoveTempFiles

func RemoveTempFiles() error

RemoveTempFiles - Removes temporary files created during testing

func RootDir

func RootDir() string

RootDir - returns root directory of the binary

Types

This section is empty.

Jump to

Keyboard shortcuts

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