If you're referring to map[K]V, that's not true. Go doesn't have generics, it uses some compiler magic under the hood specifically for the map type [0]. The generics proposal is being implemented from the ground up.
[0]: https://dave.cheney.net/2018/05/29/how-the-go-runtime-implem...