go-generics-cache
go-generics-cache copied to clipboard
Add Len() to common interface
Len() method is useful in common interface and is simple to implement.
- implement Len for simple cache, it was the only policy missing the method
Fixes https://github.com/Code-Hex/go-generics-cache/issues/43