Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ZexinLi0w0 opened this issue Jan 27, 2023 · 1 comment

Comments

@ZexinLi0w0
Copy link

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

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.
@overstarry
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants