Skip to content

Glossary: Data Structures and Algorithms in Go

slices package

Also written: slices.Insert, slices.Delete, slices.Contains, slices.Clone, slices.BinarySearch, slices.Index

A standard-library package of helper functions for slices, such as `Insert`, `Delete`, `Contains`, `Clone`, `Sort` and `BinarySearch`.

Where the book teaches it

Related terms

Sliceslices.SortFunc