(o *jsonOutput)
| 92 | } |
| 93 | |
| 94 | func (l *jsonList) begin(o *jsonOutput) { |
| 95 | l.o = o |
| 96 | |
| 97 | if o.jsonOutput { |
| 98 | fmt.Fprint(l.o.out, "[") //nolint:errcheck |
| 99 | |
| 100 | if !o.jsonIndent { |
| 101 | l.separator = "\n " |
| 102 | } |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | func (l *jsonList) end() { |
| 107 | if l.o.jsonOutput { |
no outgoing calls
no test coverage detected