With the introduction of generics in Go 1.18, we can now implement generic-based collection like stack, linked-list, queue, and any custom collection more easily. Here's an example of a linked list implemented in Go generics.
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
With the introduction of generics in Go 1.18, we can now implement generic-based collection like stack, linked-list, queue, and any custom collection more easily. Here's an example of a linked list implemented in Go generics.