strings

package
v0.0.0-...-389e7ce Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2019 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