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