From b213d2a27440e403853dc719326242579eff562f Mon Sep 17 00:00:00 2001 From: Konrad Wojas Date: Wed, 25 Oct 2017 12:32:25 +0800 Subject: [PATCH] Fix goimports --- handlers.go | 5 +++-- metrics.go | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/handlers.go b/handlers.go index 168f553..b5deb8f 100644 --- a/handlers.go +++ b/handlers.go @@ -13,10 +13,11 @@ import ( "path/filepath" "strings" "time" - "goji.io/middleware" - "goji.io/pat" + "github.com/miolini/datacounter" "github.com/prometheus/client_golang/prometheus" + "goji.io/middleware" + "goji.io/pat" ) func isHashed(dir string) bool { diff --git a/metrics.go b/metrics.go index 0a0f321..086a5a4 100644 --- a/metrics.go +++ b/metrics.go @@ -2,7 +2,6 @@ package restserver import "github.com/prometheus/client_golang/prometheus" - var metricBlobWriteTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "rest_server_blob_write_total",