diff --git a/autofile/autofile.go b/autofile/autofile.go index 83395a536..5d6bc7261 100644 --- a/autofile/autofile.go +++ b/autofile/autofile.go @@ -5,7 +5,7 @@ import ( "sync" "time" - . "github.com/tendermint/go-common/common" + . "github.com/tendermint/tmlibs/common" ) /* AutoFile usage diff --git a/autofile/autofile_test.go b/autofile/autofile_test.go index c8b81ed39..8f8017e1b 100644 --- a/autofile/autofile_test.go +++ b/autofile/autofile_test.go @@ -1,7 +1,7 @@ package autofile import ( - . "github.com/tendermint/go-common/common" + . "github.com/tendermint/tmlibs/common" "os" "sync/atomic" "syscall" diff --git a/autofile/group.go b/autofile/group.go index faeba6e74..0f829309a 100644 --- a/autofile/group.go +++ b/autofile/group.go @@ -15,7 +15,7 @@ import ( "sync" "time" - . "github.com/tendermint/go-common/common" + . "github.com/tendermint/tmlibs/common" ) /* diff --git a/autofile/group_test.go b/autofile/group_test.go index aa4c794fa..92e259701 100644 --- a/autofile/group_test.go +++ b/autofile/group_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - . "github.com/tendermint/go-common/common" + . "github.com/tendermint/tmlibs/common" ) // NOTE: Returned group has ticker stopped diff --git a/db/c_level_db.go b/db/c_level_db.go index 8de2732ea..b1ae49a12 100644 --- a/db/c_level_db.go +++ b/db/c_level_db.go @@ -8,7 +8,7 @@ import ( "github.com/jmhodges/levigo" - . "github.com/tendermint/go-common/common" + . "github.com/tendermint/tmlibs/common" ) func init() { diff --git a/db/c_level_db_test.go b/db/c_level_db_test.go index 1ce2202c8..0ee6d6414 100644 --- a/db/c_level_db_test.go +++ b/db/c_level_db_test.go @@ -7,7 +7,7 @@ import ( "fmt" "testing" - . "github.com/tendermint/go-common/common" + . "github.com/tendermint/tmlibs/common" ) func BenchmarkRandomReadsWrites2(b *testing.B) { diff --git a/db/db.go b/db/db.go index 682ecfc4c..aa8ff48a8 100644 --- a/db/db.go +++ b/db/db.go @@ -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 diff --git a/db/go_level_db.go b/db/go_level_db.go index 9b6e25a1e..54ae1149f 100644 --- a/db/go_level_db.go +++ b/db/go_level_db.go @@ -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() { diff --git a/db/go_level_db_test.go b/db/go_level_db_test.go index eb0631665..0603b2d4f 100644 --- a/db/go_level_db_test.go +++ b/db/go_level_db_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - . "github.com/tendermint/go-common/common" + . "github.com/tendermint/tmlibs/common" ) func BenchmarkRandomReadsWrites(b *testing.B) { diff --git a/events/events.go b/events/events.go index 208cea26e..487d120b3 100644 --- a/events/events.go +++ b/events/events.go @@ -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 diff --git a/events/log.go b/events/log.go index f79b657bd..adb6bab09 100644 --- a/events/log.go +++ b/events/log.go @@ -1,7 +1,7 @@ package events import ( - "github.com/tendermint/go-common/logger" + "github.com/tendermint/tmlibs/logger" ) var log = logger.New("module", "events") diff --git a/logger/log.go b/logger/log.go index edc2ddcf5..84f71c34f 100644 --- a/logger/log.go +++ b/logger/log.go @@ -3,7 +3,7 @@ package logger import ( "os" - . "github.com/tendermint/go-common/common" + . "github.com/tendermint/tmlibs/common" "github.com/tendermint/log15" ) diff --git a/merge.sh b/merge.sh index 9d2629bfb..7ff0ed94e 100644 --- a/merge.sh +++ b/merge.sh @@ -51,3 +51,4 @@ git add -u git commit -m "update import paths" # TODO: change any paths in non-Go files +# TODO: add license diff --git a/process/util.go b/process/util.go index 5e954473a..b3e0aef11 100644 --- a/process/util.go +++ b/process/util.go @@ -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. diff --git a/test/mutate.go b/test/mutate.go index 3b552ff3c..1dbe7a6bf 100644 --- a/test/mutate.go +++ b/test/mutate.go @@ -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)