fix import from internal

pull/306/head
Tony 5 years ago
parent a48d4c46fe
commit d90050f81f
  1. 6
      pkg/sync/pipeline/pipeline.go
  2. 1
      pkg/sync/pipeline/pipeline_test.go

@ -7,9 +7,9 @@ import (
"sync"
"time"
"go-common/library/net/metadata"
"go-common/library/stat/metric"
xtime "go-common/library/time"
"github.com/bilibili/kratos/pkg/net/metadata"
"github.com/bilibili/kratos/pkg/stat/metric"
xtime "github.com/bilibili/kratos/pkg/time"
)
// ErrFull channel full error

@ -92,7 +92,6 @@ func TestPipelineSmooth(t *testing.T) {
Interval: xtime.Duration(time.Second),
Buffer: 100,
Worker: 10,
Smooth: true,
}
type result struct {
index int

Loading…
Cancel
Save