(d *lsproto.Diagnostic)
| 52 | } |
| 53 | |
| 54 | func diagnosticMessageString(d *lsproto.Diagnostic) string { |
| 55 | if d.Message.String != nil { |
| 56 | return *d.Message.String |
| 57 | } |
| 58 | if d.Message.MarkupContent != nil { |
| 59 | return d.Message.MarkupContent.Value |
| 60 | } |
| 61 | return "" |
| 62 | } |
| 63 | |
| 64 | // generateQuickFixBaseline creates the content for a *.quickfixes.txt baseline file. |
| 65 | func generateQuickFixBaseline(inventory []QuickFixInventoryEntry, results []QuickFixApplicationResult) string { |
no outgoing calls
no test coverage detected