code: func receiverType(val interface{}) string {
  	t := reflect.TypeOf(val)
  	if t.Name() != "" {
  		return t.String()
  	}
  	return "(" + t.String() + ")"
  }
docs: // receiverType returns the receiver type to use in an expression like "%s.MethodName".