Skip to content

Commit

Permalink
refactor: refactor directory
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWhiteWu committed Apr 26, 2021
1 parent 911cba3 commit d7c2046
Show file tree
Hide file tree
Showing 62 changed files with 10 additions and 10 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"sync/atomic"
"time"

"github.com/bytedance/gopkg/syncx"
"github.com/bytedance/gopkg/lang/syncx"
)

const (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"sync/atomic"
"time"

"github.com/bytedance/gopkg/syncx"
"github.com/bytedance/gopkg/lang/syncx"
)

// bucket holds counts of failures and successes
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"sync/atomic"
"time"

"github.com/bytedance/gopkg/syncx"
"github.com/bytedance/gopkg/lang/syncx"
)

// perPBucket holds counts of failures and successes
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"fmt"
"testing"

"github.com/bytedance/gopkg/metainfo"
"github.com/bytedance/gopkg/cloud/metainfo"
)

func calls(ctx context.Context, level int, t *testing.T, expect bool) {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion metainfo/info_test.go → cloud/metainfo/info_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"fmt"
"testing"

"github.com/bytedance/gopkg/metainfo"
"github.com/bytedance/gopkg/cloud/metainfo"
)

func TestWithValue(t *testing.T) {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion metainfo/utils_test.go → cloud/metainfo/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"context"
"testing"

"github.com/bytedance/gopkg/metainfo"
"github.com/bytedance/gopkg/cloud/metainfo"
)

func TestHasMetaInfo(t *testing.T) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"sync"
"testing"

"github.com/bytedance/gopkg/fastrand"
"github.com/bytedance/gopkg/lang/fastrand"
)

const initsize = 1 << 10 // for `contains` `1Remove9Add90Contains` `1Range9Remove90Add900Contains`
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"sync/atomic"
"testing"

"github.com/bytedance/gopkg/fastrand"
"github.com/bytedance/gopkg/lang/fastrand"
)

func Example() {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion struct/skipset/util.go → collection/skipset/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package skipset
import (
_ "unsafe" // for linkname

"github.com/bytedance/gopkg/fastrand"
"github.com/bytedance/gopkg/lang/fastrand"
)

const (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion gopool/worker.go → util/gopool/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"sync"
"sync/atomic"

"github.com/bytedance/gopkg/logger"
"github.com/bytedance/gopkg/util/logger"
)

var workerPool sync.Pool
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d7c2046

Please sign in to comment.