format: add format cmd & goimport repo (#4586)

* format: add format cmd & goimport repo

- replaced format command
- added goimports to format command
- ran goimports

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* fix outliers & undo proto file changes
This commit is contained in:
Marko
2020-03-23 09:19:26 +01:00
committed by GitHub
parent d9c34315d2
commit 044f1bf288
111 changed files with 152 additions and 46 deletions

View File

@@ -8,6 +8,7 @@ import (
"time"
"github.com/stretchr/testify/assert"
tmrand "github.com/tendermint/tendermint/libs/rand"
)

View File

@@ -35,4 +35,3 @@ func (kvs Pairs) Less(i, j int) bool {
}
func (kvs Pairs) Swap(i, j int) { kvs[i], kvs[j] = kvs[j], kvs[i] }
func (kvs Pairs) Sort() { sort.Sort(kvs) }

View File

@@ -10,6 +10,7 @@ import (
kitlog "github.com/go-kit/kit/log"
"github.com/stretchr/testify/assert"
"github.com/tendermint/tendermint/libs/log"
)

View File

@@ -8,6 +8,7 @@ import (
"testing"
"github.com/pkg/errors"
"github.com/tendermint/tendermint/libs/log"
)

View File

@@ -39,6 +39,7 @@ import (
"sync"
"github.com/pkg/errors"
"github.com/tendermint/tendermint/libs/service"
)