elliotchance / orderedmap

🔃 An ordered map in Go with amortized O(1) for Set, Get, Delete and Len.
MIT License
817 stars 62 forks source link

Added support for generics #26

Closed elliotchance closed 2 years ago

elliotchance commented 2 years ago

Generics (in Go 1.18) are an ideal case for this library. It is provided through a new version v2. If you need to support Go 1.17 or below you can continue to use v1.


This change is Reviewable