Re:Generic Methods in Go 1.27
by zbentley on Thursday August 20, 2026 @05:51PM
(#49380751)
I’ve found generics useful at handling database-backed objects at the write boundary. Since the layout of those objects is generally pretty important, having middleware-ish things that handle interface/supertypes but return generic concrete types saves on a lot of reflection and casting.
[ Parent
| on HN ]
There are no comments on this comment yet.