Skip to content

Commit

Permalink
*: rerun "gofmt"
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
  • Loading branch information
gyuho committed Aug 29, 2018
1 parent 379a186 commit 0ef9ef3
Show file tree
Hide file tree
Showing 31 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion client/keys.go
Expand Up @@ -27,8 +27,8 @@ import (
"strings"
"time"

"go.etcd.io/etcd/pkg/pathutil"
"github.com/ugorji/go/codec"
"go.etcd.io/etcd/pkg/pathutil"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion clientv3/client.go
Expand Up @@ -27,11 +27,11 @@ import (
"sync"
"time"

"github.com/grpc-ecosystem/go-grpc-middleware/util/backoffutils"
"go.etcd.io/etcd/clientv3/balancer"
"go.etcd.io/etcd/clientv3/balancer/picker"
"go.etcd.io/etcd/clientv3/balancer/resolver/endpoint"
"go.etcd.io/etcd/etcdserver/api/v3rpc/rpctypes"
"github.com/grpc-ecosystem/go-grpc-middleware/util/backoffutils"
"go.uber.org/zap"

"google.golang.org/grpc"
Expand Down
2 changes: 1 addition & 1 deletion clientv3/retry_interceptor.go
Expand Up @@ -23,8 +23,8 @@ import (
"sync"
"time"

"go.etcd.io/etcd/etcdserver/api/v3rpc/rpctypes"
"github.com/grpc-ecosystem/go-grpc-middleware/util/backoffutils"
"go.etcd.io/etcd/etcdserver/api/v3rpc/rpctypes"
"go.uber.org/zap"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/command/auth_commands.go
Expand Up @@ -19,8 +19,8 @@ import (
"os"
"strings"

"go.etcd.io/etcd/client"
"github.com/urfave/cli"
"go.etcd.io/etcd/client"
)

func NewAuthCommands() cli.Command {
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/command/error.go
Expand Up @@ -19,8 +19,8 @@ import (
"fmt"
"os"

"go.etcd.io/etcd/client"
"github.com/urfave/cli"
"go.etcd.io/etcd/client"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/command/get_command.go
Expand Up @@ -19,8 +19,8 @@ import (
"fmt"
"os"

"go.etcd.io/etcd/client"
"github.com/urfave/cli"
"go.etcd.io/etcd/client"
)

// NewGetCommand returns the CLI command for "get".
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/command/ls_command.go
Expand Up @@ -17,8 +17,8 @@ package command
import (
"fmt"

"go.etcd.io/etcd/client"
"github.com/urfave/cli"
"go.etcd.io/etcd/client"
)

func NewLsCommand() cli.Command {
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/command/mk_command.go
Expand Up @@ -19,8 +19,8 @@ import (
"os"
"time"

"go.etcd.io/etcd/client"
"github.com/urfave/cli"
"go.etcd.io/etcd/client"
)

// NewMakeCommand returns the CLI command for "mk".
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/command/mkdir_command.go
Expand Up @@ -18,8 +18,8 @@ import (
"errors"
"time"

"go.etcd.io/etcd/client"
"github.com/urfave/cli"
"go.etcd.io/etcd/client"
)

// NewMakeDirCommand returns the CLI command for "mkdir".
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/command/rm_command.go
Expand Up @@ -17,8 +17,8 @@ package command
import (
"errors"

"go.etcd.io/etcd/client"
"github.com/urfave/cli"
"go.etcd.io/etcd/client"
)

// NewRemoveCommand returns the CLI command for "rm".
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/command/role_commands.go
Expand Up @@ -20,9 +20,9 @@ import (
"reflect"
"strings"

"github.com/urfave/cli"
"go.etcd.io/etcd/client"
"go.etcd.io/etcd/pkg/pathutil"
"github.com/urfave/cli"
)

func NewRoleCommands() cli.Command {
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/command/set_command.go
Expand Up @@ -19,8 +19,8 @@ import (
"os"
"time"

"go.etcd.io/etcd/client"
"github.com/urfave/cli"
"go.etcd.io/etcd/client"
)

// NewSetCommand returns the CLI command for "set".
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/command/set_dir_command.go
Expand Up @@ -15,8 +15,8 @@
package command

import (
"go.etcd.io/etcd/client"
"github.com/urfave/cli"
"go.etcd.io/etcd/client"
)

// NewSetDirCommand returns the CLI command for "setDir".
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/command/update_command.go
Expand Up @@ -19,8 +19,8 @@ import (
"os"
"time"

"go.etcd.io/etcd/client"
"github.com/urfave/cli"
"go.etcd.io/etcd/client"
)

// NewUpdateCommand returns the CLI command for "update".
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/command/update_dir_command.go
Expand Up @@ -18,8 +18,8 @@ import (
"errors"
"time"

"go.etcd.io/etcd/client"
"github.com/urfave/cli"
"go.etcd.io/etcd/client"
)

// NewUpdateDirCommand returns the CLI command for "updatedir".
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/command/user_commands.go
Expand Up @@ -20,8 +20,8 @@ import (
"strings"

"github.com/bgentry/speakeasy"
"go.etcd.io/etcd/client"
"github.com/urfave/cli"
"go.etcd.io/etcd/client"
)

func NewUserCommands() cli.Command {
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv3/command/alarm_command.go
Expand Up @@ -17,8 +17,8 @@ package command
import (
"fmt"

v3 "go.etcd.io/etcd/clientv3"
"github.com/spf13/cobra"
v3 "go.etcd.io/etcd/clientv3"
)

// NewAlarmCommand returns the cobra command for "alarm".
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv3/command/auth_command.go
Expand Up @@ -17,8 +17,8 @@ package command
import (
"fmt"

"go.etcd.io/etcd/etcdserver/api/v3rpc/rpctypes"
"github.com/spf13/cobra"
"go.etcd.io/etcd/etcdserver/api/v3rpc/rpctypes"
)

// NewAuthCommand returns the cobra command for "auth".
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv3/command/defrag_command.go
Expand Up @@ -20,8 +20,8 @@ import (
"path/filepath"
"time"

"go.etcd.io/etcd/mvcc/backend"
"github.com/spf13/cobra"
"go.etcd.io/etcd/mvcc/backend"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv3/command/del_command.go
Expand Up @@ -17,8 +17,8 @@ package command
import (
"fmt"

"go.etcd.io/etcd/clientv3"
"github.com/spf13/cobra"
"go.etcd.io/etcd/clientv3"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv3/command/get_command.go
Expand Up @@ -18,8 +18,8 @@ import (
"fmt"
"strings"

"go.etcd.io/etcd/clientv3"
"github.com/spf13/cobra"
"go.etcd.io/etcd/clientv3"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv3/command/move_leader_command.go
Expand Up @@ -18,8 +18,8 @@ import (
"fmt"
"strconv"

"go.etcd.io/etcd/clientv3"
"github.com/spf13/cobra"
"go.etcd.io/etcd/clientv3"
)

// NewMoveLeaderCommand returns the cobra command for "move-leader".
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv3/command/put_command.go
Expand Up @@ -19,8 +19,8 @@ import (
"os"
"strconv"

"go.etcd.io/etcd/clientv3"
"github.com/spf13/cobra"
"go.etcd.io/etcd/clientv3"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv3/command/role_command.go
Expand Up @@ -18,8 +18,8 @@ import (
"context"
"fmt"

"go.etcd.io/etcd/clientv3"
"github.com/spf13/cobra"
"go.etcd.io/etcd/clientv3"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion etcdmain/config_test.go
Expand Up @@ -23,8 +23,8 @@ import (
"strings"
"testing"

"go.etcd.io/etcd/embed"
"github.com/ghodss/yaml"
"go.etcd.io/etcd/embed"
)

func TestConfigParsingMemberFlags(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion etcdserver/api/etcdhttp/peer_test.go
Expand Up @@ -25,11 +25,11 @@ import (

"go.uber.org/zap"

"github.com/coreos/go-semver/semver"
"go.etcd.io/etcd/etcdserver/api/membership"
"go.etcd.io/etcd/etcdserver/api/rafthttp"
"go.etcd.io/etcd/pkg/testutil"
"go.etcd.io/etcd/pkg/types"
"github.com/coreos/go-semver/semver"
)

type fakeCluster struct {
Expand Down
2 changes: 1 addition & 1 deletion etcdserver/api/membership/member.go
Expand Up @@ -22,8 +22,8 @@ import (
"sort"
"time"

"go.etcd.io/etcd/pkg/types"
"github.com/coreos/pkg/capnslog"
"go.etcd.io/etcd/pkg/types"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion etcdserver/api/v3rpc/interceptor.go
Expand Up @@ -25,8 +25,8 @@ import (
"go.etcd.io/etcd/pkg/types"
"go.etcd.io/etcd/raft"

pb "go.etcd.io/etcd/etcdserver/etcdserverpb"
"github.com/coreos/pkg/capnslog"
pb "go.etcd.io/etcd/etcdserver/etcdserverpb"
"go.uber.org/zap"
"google.golang.org/grpc"
"google.golang.org/grpc/metadata"
Expand Down
2 changes: 1 addition & 1 deletion etcdserver/util.go
Expand Up @@ -20,11 +20,11 @@ import (
"strings"
"time"

"github.com/golang/protobuf/proto"
"go.etcd.io/etcd/etcdserver/api/membership"
"go.etcd.io/etcd/etcdserver/api/rafthttp"
pb "go.etcd.io/etcd/etcdserver/etcdserverpb"
"go.etcd.io/etcd/pkg/types"
"github.com/golang/protobuf/proto"

"go.uber.org/zap"
)
Expand Down
2 changes: 1 addition & 1 deletion proxy/grpcproxy/cache/store.go
Expand Up @@ -20,10 +20,10 @@ import (
"errors"
"sync"

"github.com/golang/groupcache/lru"
"go.etcd.io/etcd/etcdserver/api/v3rpc/rpctypes"
pb "go.etcd.io/etcd/etcdserver/etcdserverpb"
"go.etcd.io/etcd/pkg/adt"
"github.com/golang/groupcache/lru"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion proxy/httpproxy/reverse.go
Expand Up @@ -27,8 +27,8 @@ import (
"sync/atomic"
"time"

"go.etcd.io/etcd/etcdserver/api/v2http/httptypes"
"github.com/coreos/pkg/capnslog"
"go.etcd.io/etcd/etcdserver/api/v2http/httptypes"
)

var (
Expand Down

0 comments on commit 0ef9ef3

Please sign in to comment.