code: func baseKindString(rt reflect.Type) string {
  	numIndirects := 0
  	for rt.Kind() == reflect.Ptr {
  		numIndirects++
  		rt = rt.Elem()
  	}
  
  	return fmt.Sprintf("%s%s", strings.Repeat("*", numIndirects), rt.Kind())
  }
docs: // baseKindString returns the base kind for a given reflect.Type after
  // indirecting through all pointers.