(values []string)
| 398 | } |
| 399 | |
| 400 | func 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 | |
| 408 | func getStructHeaders(v reflect.Value) []string { |
| 409 | t := v.Type() |