package main import ( "fmt" "reflect" ) func main() { var i int = 10 var s string = "hello" var m map[string]int = map[string]int{"a": 1, "b": 2} fmt.Println(reflect.ValueOf(i).Kind()) // int fmt.Println(reflect.ValueOf(s).Kind()) // string fmt.Println(reflect.ValueOf(m).Kind()) // map }In this example, we have declared three different values, i, s, and m, and we are using the Go reflect package to determine their kinds. The output of this program will be int, string, and map respectively. Package library: reflect.