Closed
Description
from generics proposal, if i did not misunderstand, go generics won't support return type inference like this
func empty[T any]() T {
return T{}
}
i hope this feature could be added to go generics, and if not, i want to know why