()
| 39 | } |
| 40 | |
| 41 | func newDiffContext() *diffContext { |
| 42 | return &diffContext{ |
| 43 | HeaderContext: formatter.HeaderContext{ |
| 44 | Header: formatter.SubHeaderContext{ |
| 45 | "Type": changeTypeHeader, |
| 46 | "Path": pathHeader, |
| 47 | }, |
| 48 | }, |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | func (d *diffContext) MarshalJSON() ([]byte, error) { |
| 53 | return formatter.MarshalJSON(d) |
no outgoing calls
no test coverage detected
searching dependent graphs…