carlmjohnson/new
A helper function to create a pointer to a new object in Go 1.18+
7 best points · 0 comments · 1 Hacker News post · 55 GitHub stars · View on GitHub
Hacker News discussions
- More fun with Go generics: A new.Of() helper function (7 points, 0 comments, by todsacerdoti, 2021-11-23)