*: enable goimports in verify-lint

Signed-off-by: Wei Fu <fuweid89@gmail.com>
This commit is contained in:
Wei Fu
2023-09-21 19:59:30 +08:00
parent 9079ab3c98
commit aa97484166
172 changed files with 403 additions and 446 deletions

View File

@@ -19,10 +19,10 @@ import (
"fmt"
"time"
pb "go.etcd.io/etcd/api/v3/etcdserverpb"
"github.com/jonboulle/clockwork"
"go.uber.org/zap"
pb "go.etcd.io/etcd/api/v3/etcdserverpb"
)
const (

View File

@@ -19,11 +19,11 @@ import (
"sync"
"time"
pb "go.etcd.io/etcd/api/v3/etcdserverpb"
"go.etcd.io/etcd/server/v3/storage/mvcc"
"github.com/jonboulle/clockwork"
"go.uber.org/zap"
pb "go.etcd.io/etcd/api/v3/etcdserverpb"
"go.etcd.io/etcd/server/v3/storage/mvcc"
)
// Periodic compacts the log by purging revisions older than

View File

@@ -19,11 +19,11 @@ import (
"sync"
"time"
pb "go.etcd.io/etcd/api/v3/etcdserverpb"
"go.etcd.io/etcd/server/v3/storage/mvcc"
"github.com/jonboulle/clockwork"
"go.uber.org/zap"
pb "go.etcd.io/etcd/api/v3/etcdserverpb"
"go.etcd.io/etcd/server/v3/storage/mvcc"
)
// Revision compacts the log by purging revisions older than

View File

@@ -19,12 +19,11 @@ import (
"testing"
"time"
"github.com/jonboulle/clockwork"
"go.uber.org/zap/zaptest"
pb "go.etcd.io/etcd/api/v3/etcdserverpb"
"go.etcd.io/etcd/client/pkg/v3/testutil"
"github.com/jonboulle/clockwork"
)
func TestRevision(t *testing.T) {