SamplePair pairs a SampleValue with a Timestamp.
| 66 | |
| 67 | // SamplePair pairs a SampleValue with a Timestamp. |
| 68 | type SamplePair struct { |
| 69 | Timestamp Time |
| 70 | Value SampleValue |
| 71 | } |
| 72 | |
| 73 | func (s SamplePair) MarshalJSON() ([]byte, error) { |
| 74 | t, err := json.Marshal(s.Timestamp) |
nothing calls this directly
no outgoing calls
no test coverage detected