(w io.Writer, data map[string]interface{})
| 421 | } |
| 422 | |
| 423 | func prettyPrintMarkdownDiff(w io.Writer, data map[string]interface{}) { |
| 424 | if !common.GetBool(data, "changed") { |
| 425 | io.WriteString(w, "No differences.\n") |
| 426 | return |
| 427 | } |
| 428 | io.WriteString(w, colorizeUnifiedDiff(common.GetString(data, "diff"))) |
| 429 | } |
| 430 | |
| 431 | var MarkdownDiff = common.Shortcut{ |
| 432 | Service: "markdown", |
no test coverage detected