News for hackers. Stuff that matters.
Re:Go generics may use square brackets [] not parenthesis () by throw_m239339 on Wednesday July 15, 2020 @10:26AM (#23845614)
> 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

There are no comments on this comment yet.