waka-box-go icon indicating copy to clipboard operation
waka-box-go copied to clipboard

cannot unmarshal number 1715.0 into Go struct field StatsData.data.daily_average of type int64

Open ZexinLi0w0 opened this issue 2 years ago • 1 comments

Still have the same issue as #37 on commit 4542143b42f704f75a6b9f5285920886de980547.

Full log is shown as below:

panic: wakabox.GetStats: Error getting Current Stats: unmarshal error  :json: cannot unmarshal number 1715.0 into Go struct field StatsData.data.daily_average of type int64

goroutine 1 [running]:
main.main()
	/home/runner/work/ZexinLi0w0/ZexinLi0w0/waka-box-go/cmd/box/main.go:48 +0x7d6
Error: Process completed with exit code 2.

ZexinLi0w0 avatar Jan 27 '23 21:01 ZexinLi0w0

update github.com/YouEclipse/wakatime-go v0.1.2-0.20221018190731-e3134bb99788

overstarry avatar Feb 17 '23 02:02 overstarry