This repository contains the comparison of how a custom data structure can be implemented in Go with interfaces and new type parameters (generics).
Start with the interfaces
package (including the test file), then continue with the generics
package.