Skip to content

Glossary: Go Basics

slices package

Also written: slices.Sort, slices.Contains, slices.Max, slices.Min, slices.Clone

A standard-library package of slice helpers such as `Sort`, `Contains`, `Max`, `Min` and `Clone` (which makes an independent copy).

Where the book teaches it