cory sez to remove tags
parent
5df3e8c3aa
commit
9063312636
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue