From e9a44ed559577fb7bc2b6d5d38cf4b3f5abb14ae Mon Sep 17 00:00:00 2001 From: sincos Date: Mon, 27 May 2024 23:47:20 +0800 Subject: [PATCH] refactor: rename module, migrated to xoctopus --- contextx/value_test.go | 2 +- go.mod | 2 +- misc/must/must_test.go | 2 +- misc/stringsx/naming_test.go | 2 +- misc/stringsx/split_test.go | 2 +- ptrx/ptrx_test.go | 2 +- reflectx/reflectx_test.go | 4 ++-- reflectx/tag_test.go | 2 +- textx/text.go | 2 +- textx/text_test.go | 4 ++-- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/contextx/value_test.go b/contextx/value_test.go index 5718d61..798c3b1 100644 --- a/contextx/value_test.go +++ b/contextx/value_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/sincospro/x/contextx" + "github.com/xoctopus/x/contextx" ) type key struct{} diff --git a/go.mod b/go.mod index 8f8739e..c8e8d5f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/sincospro/x +module github.com/xoctopus/x go 1.22.0 diff --git a/misc/must/must_test.go b/misc/must/must_test.go index 423cb19..085bad3 100644 --- a/misc/must/must_test.go +++ b/misc/must/must_test.go @@ -5,7 +5,7 @@ import ( "github.com/pkg/errors" - "github.com/sincospro/x/misc/must" + "github.com/xoctopus/x/misc/must" ) func ReturnError() error { diff --git a/misc/stringsx/naming_test.go b/misc/stringsx/naming_test.go index 73f9085..3013052 100644 --- a/misc/stringsx/naming_test.go +++ b/misc/stringsx/naming_test.go @@ -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) { diff --git a/misc/stringsx/split_test.go b/misc/stringsx/split_test.go index 94781b8..6dbf7a4 100644 --- a/misc/stringsx/split_test.go +++ b/misc/stringsx/split_test.go @@ -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) { diff --git a/ptrx/ptrx_test.go b/ptrx/ptrx_test.go index 0034ee7..7117a48 100644 --- a/ptrx/ptrx_test.go +++ b/ptrx/ptrx_test.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/sincospro/x/ptrx" + "github.com/xoctopus/x/ptrx" ) func Example() { diff --git a/reflectx/reflectx_test.go b/reflectx/reflectx_test.go index a92e3bd..6007e6a 100644 --- a/reflectx/reflectx_test.go +++ b/reflectx/reflectx_test.go @@ -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) { diff --git a/reflectx/tag_test.go b/reflectx/tag_test.go index 3230eb5..395ee88 100644 --- a/reflectx/tag_test.go +++ b/reflectx/tag_test.go @@ -6,7 +6,7 @@ import ( . "github.com/onsi/gomega" - . "github.com/sincospro/x/reflectx" + . "github.com/xoctopus/x/reflectx" ) func TestTagValueAndFlags(t *testing.T) { diff --git a/textx/text.go b/textx/text.go index d2cc86d..cae02aa 100644 --- a/textx/text.go +++ b/textx/text.go @@ -6,7 +6,7 @@ import ( "reflect" "strconv" - "github.com/sincospro/x/reflectx" + "github.com/xoctopus/x/reflectx" ) func MarshalText(v any) ([]byte, error) { diff --git a/textx/text_test.go b/textx/text_test.go index 14e772d..4fe6707 100644 --- a/textx/text_test.go +++ b/textx/text_test.go @@ -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