Remove unneeded String() method for SampleValue type.

This commit is contained in:
Julius Volz 2013-01-04 12:12:18 +01:00
parent 35706efabd
commit af88afaf5a

View file

@ -14,7 +14,6 @@
package model
import (
"fmt"
"time"
)
@ -46,10 +45,6 @@ type Metric map[LabelName]LabelValue
// remedied down the road.
type SampleValue float32
func (s SampleValue) String() string {
return fmt.Sprintf("%f", s)
}
type Sample struct {
Metric Metric
Value SampleValue