package main import ( "fmt" "reflect" ) type Person struct { Name string Age int } func main() { p := Person{Name: "Alice", Age: 25} // Get type and kind of variable t := reflect.TypeOf(p) k := t.Kind() fmt.Println("Type:", t) // prints "Type: main.Person" fmt.Println("Kind:", k) // prints "Kind: struct" // Convert type to string representation s := t.String() fmt.Println("String:", s) // prints "String: main.Person" }In this example, we define a struct type "Person" and create a variable "p" of that type. We then use the reflect package to get the type and kind of "p", as well as convert its type to a string representation. The package used here is the standard reflect package provided by Go.