SyntaxFix
Write A Post
Hire A Developer
Questions
You can use reflection (reflect.TypeOf()) to get the type of something, and the value it gives (Type) has a string representation (String method) that you can print.
reflect.TypeOf()
Type
String