()
| 104 | } |
| 105 | |
| 106 | func (l *jsonList) end() { |
| 107 | if l.o.jsonOutput { |
| 108 | if !l.o.jsonIndent { |
| 109 | fmt.Fprint(l.o.out, "\n") //nolint:errcheck |
| 110 | } |
| 111 | |
| 112 | fmt.Fprint(l.o.out, "]") //nolint:errcheck |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | func (l *jsonList) emit(v any) { |
| 117 | fmt.Fprintf(l.o.out, "%s%s", l.separator, l.o.jsonBytes(v)) //nolint:errcheck |
no outgoing calls
no test coverage detected