slice

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package slice contains commonly used slices methods

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(item string, list []string) bool

Contains returns wether or not a string item is contained in a slice of strings

func IntDeepEqual

func IntDeepEqual(a, b []int) bool

IntDeepEqual compares two integer slices

func Remove

func Remove(s []string, i int) []string

Remove removes one element from an array of strings

Types

This section is empty.

Jump to

Keyboard shortcuts

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