slice

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: BSD-3-Clause Imports: 0 Imported by: 2

Documentation

Overview

Package slice contains a set of utilities to deal with slices

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntSliceContains

func IntSliceContains(sl []int, v int) bool

IntSliceContains check if a slice contains the specified int value

func ToSlice

func ToSlice(m map[string]struct{}) (s []string)

ToSlice creates a slice with all string keys from a map

Types

This section is empty.

Jump to

Keyboard shortcuts

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