From 900be74e8fc9df8800401235301a538c074c43aa Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Tue, 18 Apr 2017 16:33:51 -0400 Subject: [PATCH] update import paths --- autofile/autofile.go | 2 +- autofile/autofile_test.go | 2 +- autofile/group.go | 2 +- autofile/group_test.go | 2 +- db/c_level_db.go | 2 +- db/c_level_db_test.go | 2 +- db/db.go | 2 +- db/go_level_db.go | 2 +- db/go_level_db_test.go | 2 +- events/events.go | 2 +- events/log.go | 2 +- logger/log.go | 2 +- process/util.go | 2 +- test/mutate.go | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/autofile/autofile.go b/autofile/autofile.go index e61bbb83..83395a53 100644 --- a/autofile/autofile.go +++ b/autofile/autofile.go @@ -5,7 +5,7 @@ import ( "sync" "time" - . "github.com/tendermint/go-common" + . "github.com/tendermint/go-common/common" ) /* AutoFile usage diff --git a/autofile/autofile_test.go b/autofile/autofile_test.go index 243125ca..c8b81ed3 100644 --- a/autofile/autofile_test.go +++ b/autofile/autofile_test.go @@ -1,7 +1,7 @@ package autofile import ( - . "github.com/tendermint/go-common" + . "github.com/tendermint/go-common/common" "os" "sync/atomic" "syscall" diff --git a/autofile/group.go b/autofile/group.go index ee1a9415..faeba6e7 100644 --- a/autofile/group.go +++ b/autofile/group.go @@ -15,7 +15,7 @@ import ( "sync" "time" - . "github.com/tendermint/go-common" + . "github.com/tendermint/go-common/common" ) /* diff --git a/autofile/group_test.go b/autofile/group_test.go index 1c2280e8..aa4c794f 100644 --- a/autofile/group_test.go +++ b/autofile/group_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - . "github.com/tendermint/go-common" + . "github.com/tendermint/go-common/common" ) // NOTE: Returned group has ticker stopped diff --git a/db/c_level_db.go b/db/c_level_db.go index 33a78009..8de2732e 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" + . "github.com/tendermint/go-common/common" ) func init() { diff --git a/db/c_level_db_test.go b/db/c_level_db_test.go index b9016149..1ce2202c 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" + . "github.com/tendermint/go-common/common" ) func BenchmarkRandomReadsWrites2(b *testing.B) { diff --git a/db/db.go b/db/db.go index b8849909..682ecfc4 100644 --- a/db/db.go +++ b/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 diff --git a/db/go_level_db.go b/db/go_level_db.go index 1b4a937c..9b6e25a1 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" + . "github.com/tendermint/go-common/common" ) func init() { diff --git a/db/go_level_db_test.go b/db/go_level_db_test.go index 24b64734..eb063166 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" + . "github.com/tendermint/go-common/common" ) func BenchmarkRandomReadsWrites(b *testing.B) { diff --git a/events/events.go b/events/events.go index e613a8e0..208cea26 100644 --- a/events/events.go +++ b/events/events.go @@ -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 diff --git a/events/log.go b/events/log.go index 52546229..f79b657b 100644 --- a/events/log.go +++ b/events/log.go @@ -1,7 +1,7 @@ package events import ( - "github.com/tendermint/go-logger" + "github.com/tendermint/go-common/logger" ) var log = logger.New("module", "events") diff --git a/logger/log.go b/logger/log.go index 07c1e6a4..edc2ddcf 100644 --- a/logger/log.go +++ b/logger/log.go @@ -3,7 +3,7 @@ package logger import ( "os" - . "github.com/tendermint/go-common" + . "github.com/tendermint/go-common/common" "github.com/tendermint/log15" ) diff --git a/process/util.go b/process/util.go index 4976e46e..5e954473 100644 --- a/process/util.go +++ b/process/util.go @@ -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. diff --git a/test/mutate.go b/test/mutate.go index 629e9f86..3b552ff3 100644 --- a/test/mutate.go +++ b/test/mutate.go @@ -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)