Browse Source

go-common -> tmlibs

pull/1842/head
Ethan Buchman 8 years ago
parent
commit
2f8551d3b6
15 changed files with 15 additions and 14 deletions
  1. +1
    -1
      autofile/autofile.go
  2. +1
    -1
      autofile/autofile_test.go
  3. +1
    -1
      autofile/group.go
  4. +1
    -1
      autofile/group_test.go
  5. +1
    -1
      db/c_level_db.go
  6. +1
    -1
      db/c_level_db_test.go
  7. +1
    -1
      db/db.go
  8. +1
    -1
      db/go_level_db.go
  9. +1
    -1
      db/go_level_db_test.go
  10. +1
    -1
      events/events.go
  11. +1
    -1
      events/log.go
  12. +1
    -1
      logger/log.go
  13. +1
    -0
      merge.sh
  14. +1
    -1
      process/util.go
  15. +1
    -1
      test/mutate.go

+ 1
- 1
autofile/autofile.go View File

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


+ 1
- 1
autofile/autofile_test.go View File

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


+ 1
- 1
autofile/group.go View File

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


+ 1
- 1
autofile/group_test.go 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


+ 1
- 1
db/c_level_db.go View File

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


+ 1
- 1
db/c_level_db_test.go 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) {


+ 1
- 1
db/db.go 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


+ 1
- 1
db/go_level_db.go 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() {


+ 1
- 1
db/go_level_db_test.go 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) {


+ 1
- 1
events/events.go 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


+ 1
- 1
events/log.go 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")

+ 1
- 1
logger/log.go 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"
)


+ 1
- 0
merge.sh 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

+ 1
- 1
process/util.go 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.


+ 1
- 1
test/mutate.go 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)


Loading…
Cancel
Save