Our great sponsors
-
juniper
Juniper is an extension to the Go standard library using generics, including containers, iterators, and streams. (by bradenaw)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Good initiative this helps generics feature to keep parity with other typed languages. It should be noted , this generics variant is in parity with std lib performance wise , I have created a suggestive issue https://github.com/bradenaw/juniper/issues/2 to keep track
With regards to container/xlist and container/deque I recommend using a similar approach as https://github.com/karalabe/cookiejar/tree/master/collections. Most of the time, a linked-list is the wrong data-structure and there is a better option.
I am aware of this that predates generics: https://github.com/ahmetb/go-linq/blob/master/groupby.go