Group and sort imports.

This commit is contained in:
Alexey Palazhchenko 2019-04-24 08:56:23 +03:00 committed by Will Rouesnel
parent f9bb147ee8
commit 84a575f29f
3 changed files with 7 additions and 13 deletions

View File

@ -1,6 +1,7 @@
package main
import (
"crypto/sha256"
"database/sql"
"errors"
"fmt"
@ -16,16 +17,13 @@ import (
"sync"
"time"
"gopkg.in/alecthomas/kingpin.v2"
"gopkg.in/yaml.v2"
"crypto/sha256"
"github.com/blang/semver"
"github.com/lib/pq"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/prometheus/common/log"
"gopkg.in/alecthomas/kingpin.v2"
"gopkg.in/yaml.v2"
)
// Version is set during build to the git describe version

View File

@ -6,16 +6,14 @@
package main
import (
"fmt"
"os"
"strings"
"testing"
. "gopkg.in/check.v1"
"fmt"
_ "github.com/lib/pq"
"github.com/prometheus/client_golang/prometheus"
. "gopkg.in/check.v1"
)
// Hook up gocheck into the "go test" runner.

View File

@ -3,15 +3,13 @@
package main
import (
"os"
"reflect"
"testing"
. "gopkg.in/check.v1"
"os"
"github.com/blang/semver"
"github.com/prometheus/client_golang/prometheus"
. "gopkg.in/check.v1"
)
// Hook up gocheck into the "go test" runner.