code: func formatAsString(v reflect.Value, kind reflect.Kind) string {
  	if kind == reflect.Ptr && !v.IsNil() {
  		v = v.Elem()
  	}
  
  	return fmt.Sprintf("%v", v.Interface())
  }
docs: // formatAsString returns a string representation of v, dereferencing it first if possible.