From fb3eb32e1828d9c497d98525f2d12d4ab6db25a9 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 11 Oct 2019 16:11:19 +0800 Subject: [PATCH] test fmt --- job.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/job.go b/job.go index ff2304f..9c5bc43 100644 --- a/job.go +++ b/job.go @@ -968,11 +968,11 @@ func jobVaultStatus(j Job) { } if currentUserID64 != 0 { //display info - out := fmt.Sprintf("
%-28s | Dep. | Rcv. | Total\n-------------------------------------------------\n", `Item`)
+		out := fmt.Sprintf("
%-28s | Dep. | Rcv. | Total\n------------------------------┼-------┼-------┼------\n", `Item`)
 		for i, itemId := range itemList {
 			item, err := getObjItem(itemId)
 			logOnError(err, "jobVaultStatus : getObjItem")
-			out = fmt.Sprintf("%s%-28s |%-5d |%-5d |%-5d\n", out, item.Name, depositList[i], withdrawList[i], depositList[i]-withdrawList[i])
+			out = fmt.Sprintf("%s%-28s |%6d |%6d |%6d\n", out, item.Name, depositList[i], withdrawList[i], depositList[i]-withdrawList[i])
 		}
 		out = fmt.Sprintf("%s
", out) log.Printf("Vault Status :\n%s", out)