3 ms·
This is a simple LRU cache I made to get my hands on generics which is available in the go 1.18 beta. Feedback is welcome :-)
by _256 5y ago
This is a simple LRU cache I made to get my hands on generics which is available in the go 1.18 beta. Feedback is welcome :-)
- deleted 5y ago[deleted]
- bogomipz 5y agoMight you or anyone else have any good links or references that helped you come up to speed on generics in Go?
- meling 5y agoThe tutorial from the Go team is pretty good to learn the basics: https://go.dev/doc/tutorial/generics https://go.dev/doc/tutorial/generics
- feffe 5y agoThere's also the type parameters proposal document which covers a lot of ground. https://go.googlesource.com/proposal/+/refs/heads/master/design/43651-type-parameters.md https://go.googlesource.com/proposal/+/refs/heads/master/des...