MCPcopy Create free account
hub / github.com/AndroidPoet/playconsole-cli / escapeMarkdownRow

Function escapeMarkdownRow

internal/output/output.go:400–406  ·  view source on GitHub ↗
(values []string)

Source from the content-addressed store, hash-verified

398}
399
400func escapeMarkdownRow(values []string) []string {
401 escaped := make([]string, len(values))
402 for i, value := range values {
403 escaped[i] = strings.ReplaceAll(value, "|", "\\|")
404 }
405 return escaped
406}
407
408func getStructHeaders(v reflect.Value) []string {
409 t := v.Type()

Callers 1

markdownRowsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected