From 37f82acfc6dfc00b16b6886cf533efe6a18fb001 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 18 Sep 2014 22:12:37 -0700 Subject: [PATCH] store: Fully annotate (for JSON) the time-series type. --- sysdb/store.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysdb/store.go b/sysdb/store.go index 4e78d44..4a71428 100644 --- a/sysdb/store.go +++ b/sysdb/store.go @@ -245,9 +245,9 @@ type DataPoint struct { // A Timeseries describes a sequence of data-points. type Timeseries struct { - Start Time `json:"start"` - End Time `json:"end"` - Data map[string][]DataPoint + Start Time `json:"start"` + End Time `json:"end"` + Data map[string][]DataPoint `json:"data"` } // vim: set tw=78 sw=4 sw=4 noexpandtab : -- 2.30.2