Type aliases in #golang, soon also work with generics. It's an interesting feature, useful for refactorings and simplifications https://go.dev/blog/alias-names
What's in an (Alias) Name? - The Go Programming Language

A description of generic alias types, a planned feature for Go 1.24

@snonux not soon! Now! go1.24 was already released last month.
@robprentiss Yeah, but I am using what's shipped on my distro :-)
@snonux The beauty of Go is that it's completely standalone. No need to use a specific version from your distro, because it won’t affect anything on your system. Always use the latest from go.dev/dl
@robprentiss I am very lazy, and my distro rolls every half year, so a good enough trade off for me personally :-)