Can do.  I started writing this before looking at the type too closely.


2013/4/24 juliusv <notifications@github.com>

> In model/metric.go:
>
> > @@ -92,6 +96,17 @@ type SamplePair struct {
> >  	Timestamp time.Time
> >  }
> >
> > +func (s SamplePair) Equal(o SamplePair) (equal bool) {
> > +	switch {
>
> Why not just:
>
> return s.Value.Equal(i.Value) && s.Timestamp.Equal(o.Timestamp)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/prometheus/prometheus/pull/176/files#r3933420>
> .
>