From 4c1b728400571fa3f53e29ffa566e61c96ac67de Mon Sep 17 00:00:00 2001 From: Luke <2142748+lsh-0@users.noreply.github.com> Date: Tue, 5 Sep 2023 10:51:36 +0930 Subject: [PATCH] tweaked result output to use a tab for consistent looking output --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 0e7dea8..7de413e 100644 --- a/main.go +++ b/main.go @@ -162,7 +162,7 @@ func validate_article(article_json_path string, capture_error bool) Result { func (r Result) String() string { // "VOR valid in 2.6ms: elife-09560-v1.xml.json" // "POA invalid in 123.4ms: elife-09560-v1.xml.json" - msg := "%s %s in %4dms: %s" + msg := "%s %s in\t%4dms: %s" if r.Success { return fmt.Sprintf(msg, r.Type, "valid", r.Elapsed, r.FileName) }