mirror of
https://github.com/distribution/distribution.git
synced 2025-09-20 02:34:27 +00:00
Merge pull request #2661 from dmcgowan/enable-goimports
Enable goimports check
This commit is contained in:
@@ -40,12 +40,12 @@ package base
|
||||
import (
|
||||
"context"
|
||||
"io"
|
||||
"time"
|
||||
|
||||
dcontext "github.com/docker/distribution/context"
|
||||
prometheus "github.com/docker/distribution/metrics"
|
||||
storagedriver "github.com/docker/distribution/registry/storage/driver"
|
||||
"github.com/docker/go-metrics"
|
||||
"time"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@@ -5,13 +5,14 @@ import (
|
||||
"crypto/rand"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
dcontext "github.com/docker/distribution/context"
|
||||
"net"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
dcontext "github.com/docker/distribution/context"
|
||||
|
||||
"reflect" // used as a replacement for testify
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user