Skip to content

Commit 093bac7

Browse files
committed
reorder import sequence
1 parent d6e1c46 commit 093bac7

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

exporter/column.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ package exporter
22

33
import (
44
"fmt"
5-
"github.com/prometheus/client_golang/prometheus"
65
"strings"
6+
7+
"github.com/prometheus/client_golang/prometheus"
78
)
89

910
/* ================ Column ================ */

exporter/config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ package exporter
22

33
import (
44
"fmt"
5-
"gopkg.in/yaml.v3"
65
"os"
76
"path"
87
"strings"
8+
9+
"gopkg.in/yaml.v3"
910
)
1011

1112
// GetConfig will try load config from target path

exporter/global.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package exporter
22

33
import (
4-
"github.com/go-kit/kit/log"
54
"sync"
5+
6+
"github.com/go-kit/kit/log"
67
)
78

89
/* ================ Parameters ================ */

exporter/query.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ package exporter
33
import (
44
"bytes"
55
"fmt"
6-
"gopkg.in/yaml.v3"
76
"text/template"
87
"time"
8+
9+
"gopkg.in/yaml.v3"
910
)
1011

1112
/* ================ Query ================ */

exporter/utils.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ package exporter
22

33
import (
44
"fmt"
5-
"github.com/go-kit/kit/log"
6-
"github.com/go-kit/log/level"
7-
"github.com/prometheus/client_golang/prometheus"
85
"math"
96
"os"
107
"strconv"
118
"strings"
129
"time"
10+
11+
"github.com/go-kit/kit/log"
12+
"github.com/go-kit/log/level"
13+
"github.com/prometheus/client_golang/prometheus"
1314
)
1415

1516
/* ================ Logger ================ */

0 commit comments

Comments
 (0)