go-common -> tmlibs

This commit is contained in:
Ethan Buchman 2017-04-18 17:56:05 -04:00
parent 900be74e8f
commit 2f8551d3b6
15 changed files with 15 additions and 14 deletions

View File

@ -5,7 +5,7 @@ import (
"sync"
"time"
. "github.com/tendermint/go-common/common"
. "github.com/tendermint/tmlibs/common"
)
/* AutoFile usage

View File

@ -1,7 +1,7 @@
package autofile
import (
. "github.com/tendermint/go-common/common"
. "github.com/tendermint/tmlibs/common"
"os"
"sync/atomic"
"syscall"

View File

@ -15,7 +15,7 @@ import (
"sync"
"time"
. "github.com/tendermint/go-common/common"
. "github.com/tendermint/tmlibs/common"
)
/*

View File

@ -9,7 +9,7 @@ import (
"strings"
"testing"
. "github.com/tendermint/go-common/common"
. "github.com/tendermint/tmlibs/common"
)
// NOTE: Returned group has ticker stopped

View File

@ -8,7 +8,7 @@ import (
"github.com/jmhodges/levigo"
. "github.com/tendermint/go-common/common"
. "github.com/tendermint/tmlibs/common"
)
func init() {

View File

@ -7,7 +7,7 @@ import (
"fmt"
"testing"
. "github.com/tendermint/go-common/common"
. "github.com/tendermint/tmlibs/common"
)
func BenchmarkRandomReadsWrites2(b *testing.B) {

View File

@ -1,6 +1,6 @@
package db
import . "github.com/tendermint/go-common/common"
import . "github.com/tendermint/tmlibs/common"
type DB interface {
Get([]byte) []byte

View File

@ -8,7 +8,7 @@ import (
"github.com/syndtr/goleveldb/leveldb/errors"
"github.com/syndtr/goleveldb/leveldb/opt"
. "github.com/tendermint/go-common/common"
. "github.com/tendermint/tmlibs/common"
)
func init() {

View File

@ -6,7 +6,7 @@ import (
"fmt"
"testing"
. "github.com/tendermint/go-common/common"
. "github.com/tendermint/tmlibs/common"
)
func BenchmarkRandomReadsWrites(b *testing.B) {

View File

@ -6,7 +6,7 @@ package events
import (
"sync"
. "github.com/tendermint/go-common/common"
. "github.com/tendermint/tmlibs/common"
)
// Generic event data can be typed and registered with tendermint/go-wire

View File

@ -1,7 +1,7 @@
package events
import (
"github.com/tendermint/go-common/logger"
"github.com/tendermint/tmlibs/logger"
)
var log = logger.New("module", "events")

View File

@ -3,7 +3,7 @@ package logger
import (
"os"
. "github.com/tendermint/go-common/common"
. "github.com/tendermint/tmlibs/common"
"github.com/tendermint/log15"
)

View File

@ -51,3 +51,4 @@ git add -u
git commit -m "update import paths"
# TODO: change any paths in non-Go files
# TODO: add license

View File

@ -1,7 +1,7 @@
package process
import (
. "github.com/tendermint/go-common/common"
. "github.com/tendermint/tmlibs/common"
)
// Runs a command and gets the result.

View File

@ -1,7 +1,7 @@
package test
import (
. "github.com/tendermint/go-common/common"
. "github.com/tendermint/tmlibs/common"
)
// Contract: !bytes.Equal(input, output) && len(input) >= len(output)