Skip to content

Commit

Permalink
refactor: rename module, migrated to xoctopus
Browse files Browse the repository at this point in the history
  • Loading branch information
saitofun committed May 27, 2024
1 parent a44104a commit e9a44ed
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion contextx/value_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"github.com/sincospro/x/contextx"
"github.com/xoctopus/x/contextx"
)

type key struct{}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/sincospro/x
module github.com/xoctopus/x

go 1.22.0

Expand Down
2 changes: 1 addition & 1 deletion misc/must/must_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/pkg/errors"

"github.com/sincospro/x/misc/must"
"github.com/xoctopus/x/misc/must"
)

func ReturnError() error {
Expand Down
2 changes: 1 addition & 1 deletion misc/stringsx/naming_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

. "github.com/onsi/gomega"

. "github.com/sincospro/x/misc/stringsx"
. "github.com/xoctopus/x/misc/stringsx"
)

func TestNaming(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion misc/stringsx/split_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

. "github.com/onsi/gomega"

"github.com/sincospro/x/misc/stringsx"
"github.com/xoctopus/x/misc/stringsx"
)

func Test_SplitToWords(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion ptrx/ptrx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"time"

"github.com/sincospro/x/ptrx"
"github.com/xoctopus/x/ptrx"
)

func Example() {
Expand Down
4 changes: 2 additions & 2 deletions reflectx/reflectx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

. "github.com/onsi/gomega"

"github.com/sincospro/x/ptrx"
. "github.com/sincospro/x/reflectx"
"github.com/xoctopus/x/ptrx"
. "github.com/xoctopus/x/reflectx"
)

func TestIndirect(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion reflectx/tag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

. "github.com/onsi/gomega"

. "github.com/sincospro/x/reflectx"
. "github.com/xoctopus/x/reflectx"
)

func TestTagValueAndFlags(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion textx/text.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"reflect"
"strconv"

"github.com/sincospro/x/reflectx"
"github.com/xoctopus/x/reflectx"
)

func MarshalText(v any) ([]byte, error) {
Expand Down
4 changes: 2 additions & 2 deletions textx/text_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (

. "github.com/onsi/gomega"

"github.com/sincospro/x/ptrx"
. "github.com/sincospro/x/textx"
"github.com/xoctopus/x/ptrx"
. "github.com/xoctopus/x/textx"
)

type Duration time.Duration
Expand Down

0 comments on commit e9a44ed

Please sign in to comment.