2 ms·
> The built-in types map, chan, array, and slice take type parameters, and they are usually sufficient for doing whatever you need to do. They are so sufficien
by throw_m239339 6y ago
> The built-in types map, chan, array, and slice take type parameters, and they are usually sufficient for doing whatever you need to do.
They are so sufficient you need to learn all these tricks by heart in order to do basic operations on slices:
https://github.com/golang/go/wiki/SliceTricks https://github.com/golang/go/wiki/SliceTricks