code: func resultTypeHelp(xT descLookupFunc, rt reflect.Type, fieldDescKey string) string {
  	// Generate the JSON example for the result type.
  	results, isComplex := reflectTypeToJSONExample(xT, rt, 0, fieldDescKey)
  
  	// When this is a primitive type, add the associated JSON type and
  	// result description into the final string, format it accordingly,
  	// and return it.
  	if !isComplex {
  		return fmt.Sprintf("%s (%s) %s", results[0],
  			reflectTypeToJSONType(xT, rt), xT(fieldDescKey))
  	}
  
  	// At this point, this is a complex type that already has the JSON types
  	// and descriptions in the results.  Thus, use a tab writer to nicely
  	// align the help text.
  	var formatted bytes.Buffer
  	w := new(tabwriter.Writer)
  	w.Init(&formatted, 0, 4, 1, ' ', 0)
  	for i, text := range results {
  		if i == len(results)-1 {
  			fmt.Fprintf(w, text)
  		} else {
  			fmt.Fprintln(w, text)
  		}
  	}
  	w.Flush()
  	return formatted.String()
  }
docs: // resultTypeHelp generates and returns formatted help for the provided result
  // type.