cory sez to remove tags

pull/1909/head
Joseph Rothrock 2015-03-17 15:27:33 -07:00
parent 5df3e8c3aa
commit 9063312636
1 changed files with 5 additions and 5 deletions

View File

@ -274,11 +274,11 @@ func (a Results) Error() error {
// Precision can be specified if the timestamp is in epoch format (integer). // Precision can be specified if the timestamp is in epoch format (integer).
// Valid values for Precision are n, u, ms, s, m, and h // Valid values for Precision are n, u, ms, s, m, and h
type Point struct { type Point struct {
Name string `json:"name,omitempty"` Name string
Tags map[string]string `json:"tags,omitempty"` Tags map[string]string
Timestamp time.Time `json:"timestamp,omitempty"` //XXX omitempty doesn't work on time.Time Timestamp time.Time
Fields map[string]interface{} `json:"fields,omitempty"` Fields map[string]interface{}
Precision string `json:"precision,omitempty"` Precision string
} }
// MarshalJSON will format the time in RFC3339Nano // MarshalJSON will format the time in RFC3339Nano