mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-09-20 15:31:21 +00:00
Merge pull request #63 from dpaz/issue60
Added end of line when outputs json
This commit is contained in:
commit
d3f79d9a37
@ -119,6 +119,7 @@ func printBreakDown(out map[string][]string, buff *bytes.Buffer) {
|
|||||||
func printJson(out map[string][]string, buff *bytes.Buffer) {
|
func printJson(out map[string][]string, buff *bytes.Buffer) {
|
||||||
data, _ := json.Marshal(out)
|
data, _ := json.Marshal(out)
|
||||||
buff.Write(data)
|
buff.Write(data)
|
||||||
|
buff.WriteByte('\n')
|
||||||
}
|
}
|
||||||
|
|
||||||
func printPercents(out map[string][]string, buff *bytes.Buffer) {
|
func printPercents(out map[string][]string, buff *bytes.Buffer) {
|
||||||
|
Loading…
Reference in New Issue
Block a user