From af88afaf5a3d6fff275dd3f35d8eef643d31a1bf Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Fri, 4 Jan 2013 12:12:18 +0100 Subject: [PATCH] Remove unneeded String() method for SampleValue type. --- model/metric.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/model/metric.go b/model/metric.go index e73e2597d2..fdb2802b37 100644 --- a/model/metric.go +++ b/model/metric.go @@ -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