File tree Expand file tree Collapse file tree 3 files changed +7
-13
lines changed Expand file tree Collapse file tree 3 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 1
1
package main
2
2
3
3
import (
4
+ "crypto/sha256"
4
5
"database/sql"
5
6
"errors"
6
7
"fmt"
@@ -16,16 +17,13 @@ import (
16
17
"sync"
17
18
"time"
18
19
19
- "gopkg.in/alecthomas/kingpin.v2"
20
- "gopkg.in/yaml.v2"
21
-
22
- "crypto/sha256"
23
-
24
20
"github.com/blang/semver"
25
21
"github.com/lib/pq"
26
22
"github.com/prometheus/client_golang/prometheus"
27
23
"github.com/prometheus/client_golang/prometheus/promhttp"
28
24
"github.com/prometheus/common/log"
25
+ "gopkg.in/alecthomas/kingpin.v2"
26
+ "gopkg.in/yaml.v2"
29
27
)
30
28
31
29
// Version is set during build to the git describe version
Original file line number Diff line number Diff line change 6
6
package main
7
7
8
8
import (
9
+ "fmt"
9
10
"os"
10
11
"strings"
11
12
"testing"
12
13
13
- . "gopkg.in/check.v1"
14
-
15
- "fmt"
16
-
17
14
_ "github.com/lib/pq"
18
15
"github.com/prometheus/client_golang/prometheus"
16
+ . "gopkg.in/check.v1"
19
17
)
20
18
21
19
// Hook up gocheck into the "go test" runner.
Original file line number Diff line number Diff line change 3
3
package main
4
4
5
5
import (
6
+ "os"
6
7
"reflect"
7
8
"testing"
8
9
9
- . "gopkg.in/check.v1"
10
-
11
- "os"
12
-
13
10
"github.com/blang/semver"
14
11
"github.com/prometheus/client_golang/prometheus"
12
+ . "gopkg.in/check.v1"
15
13
)
16
14
17
15
// Hook up gocheck into the "go test" runner.
You can’t perform that action at this time.
0 commit comments