import ( "fmt" "reflect" ) func myFunc(input string) { fmt.Println(input) } func main() { t := reflect.TypeOf(myFunc) inputType := t.In(0) fmt.Println(inputType) // prints "string" }In this example, we define a function `myFunc` that takes in a single string parameter. We use the `reflect.TypeOf` function to get a reflect.Type object representing the data type of `myFunc`. We then use the `TypeIn` method to get a reflect.Type object representing the data type of the input parameter of `myFunc`. We then print this data type to the console. Package: "reflect"