diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-11-04 10:37:06 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-11-04 10:37:06 -0700 |
commit | 3a32a54582bb6bb62fce24fe8d1091afa68a0324 (patch) | |
tree | e7489128e2860a42aa9601321820cddfa7d721f5 | |
parent | bc88269a7ec9e6868ebb4a33c4de8cd05288f042 (diff) |
debug
-rw-r--r-- | system/api/analytics/init.go | 4 |
1 files changed, 4 insertions, 0 deletions
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 { |