etcdserve: format the source code

gofmt -w ./server

Signed-off-by: Benjamin Wang <wachao@vmware.com>
This commit is contained in:
Benjamin Wang
2022-12-02 13:00:59 +08:00
parent 87e1ca2b9a
commit faff80a2b3
44 changed files with 53 additions and 53 deletions

View File

@@ -18,8 +18,8 @@ import (
"encoding/json"
"log"
"go.etcd.io/raft/v3/raftpb"
"go.etcd.io/etcd/server/v3/storage/backend"
"go.etcd.io/raft/v3/raftpb"
"go.uber.org/zap"
)

View File

@@ -18,8 +18,8 @@ import (
"testing"
"github.com/stretchr/testify/assert"
"go.etcd.io/raft/v3/raftpb"
betesting "go.etcd.io/etcd/server/v3/storage/backend/testing"
"go.etcd.io/raft/v3/raftpb"
"go.uber.org/zap/zaptest"
)

View File

@@ -23,11 +23,11 @@ import (
"go.etcd.io/etcd/api/v3/etcdserverpb"
"go.etcd.io/etcd/api/v3/membershippb"
"go.etcd.io/etcd/api/v3/version"
"go.etcd.io/raft/v3/raftpb"
"go.etcd.io/etcd/server/v3/storage/backend"
betesting "go.etcd.io/etcd/server/v3/storage/backend/testing"
"go.etcd.io/etcd/server/v3/storage/wal"
waltesting "go.etcd.io/etcd/server/v3/storage/wal/testing"
"go.etcd.io/raft/v3/raftpb"
"go.uber.org/zap"
)