サンプルコード: - https://go.dev/play/p/z5Sv88yHAqs 参考文献: - https://go.googlesource.com/proposal/+/refs/heads/master/design/generics-implementation-gcshape.md - https://zenn.dev/syumai/articles/77bc12aca9b654 - https://speakerdeck.com/dqneo/go-language-underlying-type 準標準系ライブラリ: - https://pkg.go.dev/golang.org/x/exp/slices - https://pkg.go.dev/golang.org/x/exp/maps - https://pkg.go.dev/golang.org/x/exp/c
![Go Generics Overview](https://cdn-ak-scissors.b.st-hatena.com/image/square/fe90ff1ee1f118dd9a461a3c92e5bb8b1debfabd/height=288;version=1;width=512/https%3A%2F%2Ffiles.speakerdeck.com%2Fpresentations%2F554b771ee2864df4a4070ad7246b7081%2Fslide_0.jpg%3F23860571)