slice

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

func Del[T comparable](s *[]T, val T)

func DelByIndex

func DelByIndex[T any](s *[]T, index int)

func DelFunc

func DelFunc[T comparable](s *[]T, f func(i int) bool)

func Diff

func Diff[T comparable](a, b []T) (deff []any)

func Equal

func Equal[T comparable](a, b []T) bool

func Insert

func Insert[T any](s *[]T, index int, val T)

func Prepend

func Prepend[T any](s *[]T, val T)

func Unique

func Unique[T comparable](s *[]T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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