Answers for "golang find the type of a variable"

Go
2

golang get type of variable

1. reflect.TypeOf(varName)
2. fmt.Printf("%T\n", varName)
Posted by: Guest on September-08-2021

Code answers related to "golang find the type of a variable"

Browse Popular Code Answers by Language