Go has no type for types in the language
https://utcc.utoronto.ca/~cks/space/blog/programming/GoNoTypeForTypes [utcc.utoronto.ca]
2019-05-16 13:32
Part of what this means is that in Go, you cannot write an expression like ‘x := y.(type)’ not just because the language syntax forbids it, but because there is no standard type that the variable x can be. If you wanted to allow this, you would have to create a new Go type and define what its behavior was.