История изменений
Исправление mx__, (текущая версия) :
дженерики…
Кстати вот что написали в патчноуту к go 1.24
...
Go 1.24 now fully supports generic type aliases: a type alias may be parameterized like a defined type. See the language spec for details. For now, the feature can be disabled by setting GOEXPERIMENT=noaliastypeparams; but the aliastypeparams setting will be removed for Go 1.25.
...
Исходная версия mx__, :
дженерики…
Кстати вот что написали в патчноуту к go 1.24 … Go 1.24 now fully supports generic type aliases: a type alias may be parameterized like a defined type. See the language spec for details. For now, the feature can be disabled by setting GOEXPERIMENT=noaliastypeparams; but the aliastypeparams setting will be removed for Go 1.25. …