slice

package
v1.0.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeString

func MergeString(a []string, v ...string) []string

MergeString takes two string slices and merges them making sure no duplicates appear in resulting slice.

func RemoveFromString

func RemoveFromString(a []string, v string) []string

RemoveFromString returns passed slice without first occurrence of element v. It does not make a copy of a passed slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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