From abaece07d1713945eb844977d0759e503dcf7bc9 Mon Sep 17 00:00:00 2001 From: beorn7 Date: Sat, 18 Aug 2018 16:02:33 +0200 Subject: [PATCH] Fix import grouping Signed-off-by: beorn7 --- prometheus/examples_test.go | 4 ++-- prometheus/metric.go | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/prometheus/examples_test.go b/prometheus/examples_test.go index 5283569..5f909a6 100644 --- a/prometheus/examples_test.go +++ b/prometheus/examples_test.go @@ -23,10 +23,10 @@ import ( "strings" "time" - dto "github.com/prometheus/client_model/go" + "github.com/golang/protobuf/proto" "github.com/prometheus/common/expfmt" - "github.com/golang/protobuf/proto" + dto "github.com/prometheus/client_model/go" "github.com/prometheus/client_golang/prometheus" ) diff --git a/prometheus/metric.go b/prometheus/metric.go index a2da491..06897f2 100644 --- a/prometheus/metric.go +++ b/prometheus/metric.go @@ -18,6 +18,7 @@ import ( "time" "github.com/gogo/protobuf/proto" + dto "github.com/prometheus/client_model/go" )