There is an interesting tool on their github repo called go_generics[0]. It looks like it transforms a Go source file and writes out a new file, by doing name replacement, prefixing/suffixing for variable, method, and class names.
[0] https://github.com/google/gvisor/blob/master/tools/go_generi...