slices

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainInt64s

func ContainInt64s(source []int64, target ...int64) bool

func ContainInts

func ContainInts(source []int, target ...int) bool

func ContainStrings

func ContainStrings(source []string, target ...string) bool

func RemoveInt64s

func RemoveInt64s(source []int64, target []int64) []int64

func RemoveInts

func RemoveInts(source []int, target []int) []int

func RemoveStrings

func RemoveStrings(source []string, target []string) []string

func ToBools

func ToBools(source []string) ([]bool, error)

func ToFloat64s

func ToFloat64s(source []string) ([]float64, error)

func ToInt64s

func ToInt64s(source []string) ([]int64, error)

func ToInts

func ToInts(source []string) ([]int, error)

func TrimStrings

func TrimStrings(items []string) []string

func UniqueInt64s

func UniqueInt64s(items []int64) []int64

func UniqueInts

func UniqueInts(items []int) []int

func UniqueStrings

func UniqueStrings(items []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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