Package gfit: Steps: Calculate diff to previously stored data point.
authorFlorian Forster <ff@octo.it>
Sat, 13 Jan 2018 21:35:12 +0000 (22:35 +0100)
committerFlorian Forster <ff@octo.it>
Sat, 13 Jan 2018 21:35:12 +0000 (22:35 +0100)
commitfc31210924dc60e5a885a669e2431603f7344bbf
tree64f8ab249af2113bc7028dc9a69027fad52a60d4
parentad911fb5b8a17f238e6158b4f9479c5f8c428bff
Package gfit: Steps: Calculate diff to previously stored data point.

Google Fit will happily store multiple data points with the exact same
dataSourceID and start and end times. The web frontend then seems to
discard duplicate entries.

This commit reads existing data points and then calculates the
difference to the existing entries.
gfit/gfit.go