projects
/
kraftakt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d941e30
)
Package gfit: Include the DataStreamName in the DataStreadID.
author
Florian Forster
<ff@octo.it>
Mon, 22 Jan 2018 21:11:13 +0000
(22:11 +0100)
committer
Florian Forster
<ff@octo.it>
Mon, 22 Jan 2018 21:14:09 +0000
(22:14 +0100)
gfit/gfit.go
patch
|
blob
|
history
diff --git
a/gfit/gfit.go
b/gfit/gfit.go
index
37d30b4
..
581a9fe
100644
(file)
--- a/
gfit/gfit.go
+++ b/
gfit/gfit.go
@@
-103,6
+103,10
@@
func DataStreamID(dataSource *fitness.DataSource) string {
}
}
+ if dataSource.DataStreamName != "" {
+ fields = append(fields, dataSource.DataStreamName)
+ }
+
return strings.Join(fields, ":")
}