From 3a32a54582bb6bb62fce24fe8d1091afa68a0324 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Fri, 4 Nov 2016 10:37:06 -0700 Subject: debug --- system/api/analytics/init.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'system/api/analytics/init.go') diff --git a/system/api/analytics/init.go b/system/api/analytics/init.go index c9e3dd9..b013459 100644 --- a/system/api/analytics/init.go +++ b/system/api/analytics/init.go @@ -4,6 +4,7 @@ package analytics import ( + "fmt" "log" "net/http" "strings" @@ -126,6 +127,9 @@ func Week() (map[string]interface{}, error) { dates[len(times)-1-i] = day.Format("01/02") } + fmt.Println(times) + fmt.Println(dates) + // get api request analytics from db var requests = []apiRequest{} err := store.View(func(tx *bolt.Tx) error { -- cgit v1.2.3