Actually I am planning to build a mock framework which only receive a type parameter then mocks methods of such type.
So that I need to get the type information of the type parameter.
Currently I found I can do it by this way:
```
func (m *mock[T]) PrintType() {
x := reflect.TypeOf((*T)(nil)).Elem()
fmt.Printf("type is: %s\n", x)
}
```
But it's too tricky for me and not sure can it work in the future.