update import paths
This commit is contained in:
parent
6f49ba4c3e
commit
900be74e8f
|
@ -5,7 +5,7 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
. "github.com/tendermint/go-common"
|
||||
. "github.com/tendermint/go-common/common"
|
||||
)
|
||||
|
||||
/* AutoFile usage
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package autofile
|
||||
|
||||
import (
|
||||
. "github.com/tendermint/go-common"
|
||||
. "github.com/tendermint/go-common/common"
|
||||
"os"
|
||||
"sync/atomic"
|
||||
"syscall"
|
||||
|
|
|
@ -15,7 +15,7 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
. "github.com/tendermint/go-common"
|
||||
. "github.com/tendermint/go-common/common"
|
||||
)
|
||||
|
||||
/*
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
. "github.com/tendermint/go-common"
|
||||
. "github.com/tendermint/go-common/common"
|
||||
)
|
||||
|
||||
// NOTE: Returned group has ticker stopped
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
"github.com/jmhodges/levigo"
|
||||
|
||||
. "github.com/tendermint/go-common"
|
||||
. "github.com/tendermint/go-common/common"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"fmt"
|
||||
"testing"
|
||||
|
||||
. "github.com/tendermint/go-common"
|
||||
. "github.com/tendermint/go-common/common"
|
||||
)
|
||||
|
||||
func BenchmarkRandomReadsWrites2(b *testing.B) {
|
||||
|
|
2
db/db.go
2
db/db.go
|
@ -1,6 +1,6 @@
|
|||
package db
|
||||
|
||||
import . "github.com/tendermint/go-common"
|
||||
import . "github.com/tendermint/go-common/common"
|
||||
|
||||
type DB interface {
|
||||
Get([]byte) []byte
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"github.com/syndtr/goleveldb/leveldb/errors"
|
||||
"github.com/syndtr/goleveldb/leveldb/opt"
|
||||
|
||||
. "github.com/tendermint/go-common"
|
||||
. "github.com/tendermint/go-common/common"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"fmt"
|
||||
"testing"
|
||||
|
||||
. "github.com/tendermint/go-common"
|
||||
. "github.com/tendermint/go-common/common"
|
||||
)
|
||||
|
||||
func BenchmarkRandomReadsWrites(b *testing.B) {
|
||||
|
|
|
@ -6,7 +6,7 @@ package events
|
|||
import (
|
||||
"sync"
|
||||
|
||||
. "github.com/tendermint/go-common"
|
||||
. "github.com/tendermint/go-common/common"
|
||||
)
|
||||
|
||||
// Generic event data can be typed and registered with tendermint/go-wire
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package events
|
||||
|
||||
import (
|
||||
"github.com/tendermint/go-logger"
|
||||
"github.com/tendermint/go-common/logger"
|
||||
)
|
||||
|
||||
var log = logger.New("module", "events")
|
||||
|
|
|
@ -3,7 +3,7 @@ package logger
|
|||
import (
|
||||
"os"
|
||||
|
||||
. "github.com/tendermint/go-common"
|
||||
. "github.com/tendermint/go-common/common"
|
||||
"github.com/tendermint/log15"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package process
|
||||
|
||||
import (
|
||||
. "github.com/tendermint/go-common"
|
||||
. "github.com/tendermint/go-common/common"
|
||||
)
|
||||
|
||||
// Runs a command and gets the result.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package test
|
||||
|
||||
import (
|
||||
. "github.com/tendermint/go-common"
|
||||
. "github.com/tendermint/go-common/common"
|
||||
)
|
||||
|
||||
// Contract: !bytes.Equal(input, output) && len(input) >= len(output)
|
||||
|
|
Loading…
Reference in New Issue