stringutils

package
v1.15.17 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteOneByValue

func DeleteOneByValue(slice []string, value string) []string

Only deletes the first instance of value! Takes a slice and a value and if that value is found, uses Delete from the exp.slices package to remove it. Otherwise returns the original slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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