↳
In-reply-to
»
Tutorial: Getting started with generics - The Go Programming Language -- Okay @xuu I quite like Go's generics now ๐คฃ After going through this myself I like the semantics and the syntax. I'm glad they did a lot of work on this to keep it simple to both understand and use (just like the rest of Go) ๐ Media #GoLang #Generics
โค Read More
one that i think is pretty interesting is building up dependent constraints. see here.. it accepts a type but requires the use of a pointer to type.
https://github.com/sour-is/ev/blob/main/pkg/es/es.go#L315-L325