Cleanup go mod

This commit is contained in:
Asim Aslam
2019-12-18 16:12:25 +00:00
parent f0e841595c
commit 2338e7c9d2
6 changed files with 100 additions and 40 deletions

View File

@@ -5,8 +5,8 @@ import (
"testing"
"time"
glog "github.com/go-log/log"
"github.com/google/uuid"
"github.com/micro/go-micro/debug/log/noop"
"github.com/micro/go-micro/registry"
"github.com/micro/go-micro/registry/memory"
"github.com/micro/go-micro/util/log"
@@ -18,7 +18,7 @@ func newTestRegistry() registry.Registry {
func sub(be *testing.B, c int) {
// set no op logger
log.SetLogger(glog.DefaultLogger)
log.SetLogger(noop.NewLog())
be.StopTimer()
m := newTestRegistry()
@@ -81,7 +81,7 @@ func sub(be *testing.B, c int) {
func pub(be *testing.B, c int) {
// set no op logger
log.SetLogger(glog.DefaultLogger)
log.SetLogger(noop.NewLog())
be.StopTimer()
m := newTestRegistry()