From e2a26ca579334bfbf2ff867483f23fd7d7948799 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Fri, 4 Oct 2024 15:46:08 +1000 Subject: [PATCH] less logging --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 8b718ae..9d58317 100644 --- a/main.go +++ b/main.go @@ -205,12 +205,12 @@ func AvgChart(f *excelize.File, worksheetName string, location string, avgCpuCol // Find the column that matches, add one to account for the date column col = slices.Index(avgCpuColumns, pool) + 1 - fmt.Printf("Pool: %s, column: %d\n", pool, col) + //fmt.Printf("Pool: %s, column: %d\n", pool, col) // Type assertion to confirm that poolKv.Value is a map[string]interface{} if dateMap, ok := poolKv.Value.(map[string]interface{}); ok { for date, val := range dateMap { - fmt.Printf("Date: %s, Value: %v\n", date, val) + //fmt.Printf("Date: %s, Value: %v\n", date, val) // Find the correct row, add one to account for sheet heading row = slices.Index(dataDates, date) + 1