strings

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(s string, sl []string) bool

Contains returns true if a slice contains a string and false if not.

func Deduplicate

func Deduplicate(s []string) []string

Deduplicate removes any duplicated values and returns a new slice, keeping the order unchanged

Types

This section is empty.

Jump to

Keyboard shortcuts

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