summaryrefslogtreecommitdiff
path: root/internal/util
diff options
context:
space:
mode:
authorLibravatar Daenney <daenney@users.noreply.github.com>2025-04-26 15:34:10 +0200
committerLibravatar tobi <tobi.smethurst@protonmail.com>2025-05-05 11:55:15 +0200
commit27edfccf7dc4f7ad329dabfb12fa75e547ecdd40 (patch)
treedc881cc1c7cfa98df19d503e4d17ca3a15f27c26 /internal/util
parent[chore] Set up Github to be a mirror (diff)
downloadgotosocial-27edfccf7dc4f7ad329dabfb12fa75e547ecdd40.tar.xz
[feature] Move to code.superseriousbusiness.org
Diffstat (limited to 'internal/util')
-rw-r--r--internal/util/domain_test.go4
-rw-r--r--internal/util/namestring.go4
-rw-r--r--internal/util/namestring_test.go2
-rw-r--r--internal/util/paging.go6
-rw-r--r--internal/util/paging_test.go4
-rw-r--r--internal/util/secret_test.go2
-rw-r--r--internal/util/time_test.go4
-rw-r--r--internal/util/xslices/slices_test.go2
8 files changed, 14 insertions, 14 deletions
diff --git a/internal/util/domain_test.go b/internal/util/domain_test.go
index a0ffd30b4..aad1472f8 100644
--- a/internal/util/domain_test.go
+++ b/internal/util/domain_test.go
@@ -22,9 +22,9 @@ import (
"strconv"
"testing"
+ "code.superseriousbusiness.org/gotosocial/internal/util"
+ "code.superseriousbusiness.org/gotosocial/testrig"
"github.com/stretchr/testify/suite"
- "github.com/superseriousbusiness/gotosocial/internal/util"
- "github.com/superseriousbusiness/gotosocial/testrig"
)
type PunyTestSuite struct {
diff --git a/internal/util/namestring.go b/internal/util/namestring.go
index bb351c6e8..26aad821f 100644
--- a/internal/util/namestring.go
+++ b/internal/util/namestring.go
@@ -22,8 +22,8 @@ import (
"net/url"
"strings"
- "github.com/superseriousbusiness/gotosocial/internal/regexes"
- "github.com/superseriousbusiness/gotosocial/internal/uris"
+ "code.superseriousbusiness.org/gotosocial/internal/regexes"
+ "code.superseriousbusiness.org/gotosocial/internal/uris"
)
// ExtractNamestringParts extracts the username test_user and
diff --git a/internal/util/namestring_test.go b/internal/util/namestring_test.go
index 2ce5af65c..9368dc7c1 100644
--- a/internal/util/namestring_test.go
+++ b/internal/util/namestring_test.go
@@ -20,8 +20,8 @@ package util_test
import (
"testing"
+ "code.superseriousbusiness.org/gotosocial/internal/util"
"github.com/stretchr/testify/suite"
- "github.com/superseriousbusiness/gotosocial/internal/util"
)
type NamestringSuite struct {
diff --git a/internal/util/paging.go b/internal/util/paging.go
index 190f40afd..712498313 100644
--- a/internal/util/paging.go
+++ b/internal/util/paging.go
@@ -22,9 +22,9 @@ import (
"net/url"
"strings"
- apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model"
- "github.com/superseriousbusiness/gotosocial/internal/config"
- "github.com/superseriousbusiness/gotosocial/internal/gtserror"
+ apimodel "code.superseriousbusiness.org/gotosocial/internal/api/model"
+ "code.superseriousbusiness.org/gotosocial/internal/config"
+ "code.superseriousbusiness.org/gotosocial/internal/gtserror"
)
// PageableResponseParams models the parameters to pass to PackagePageableResponse.
diff --git a/internal/util/paging_test.go b/internal/util/paging_test.go
index bab7dcb7b..f041277bc 100644
--- a/internal/util/paging_test.go
+++ b/internal/util/paging_test.go
@@ -20,9 +20,9 @@ package util_test
import (
"testing"
+ "code.superseriousbusiness.org/gotosocial/internal/config"
+ "code.superseriousbusiness.org/gotosocial/internal/util"
"github.com/stretchr/testify/suite"
- "github.com/superseriousbusiness/gotosocial/internal/config"
- "github.com/superseriousbusiness/gotosocial/internal/util"
)
type PagingSuite struct {
diff --git a/internal/util/secret_test.go b/internal/util/secret_test.go
index 99b2df32c..cda5a484e 100644
--- a/internal/util/secret_test.go
+++ b/internal/util/secret_test.go
@@ -21,7 +21,7 @@ import (
"regexp"
"testing"
- "github.com/superseriousbusiness/gotosocial/internal/util"
+ "code.superseriousbusiness.org/gotosocial/internal/util"
)
func TestMustGenerateSecret(t *testing.T) {
diff --git a/internal/util/time_test.go b/internal/util/time_test.go
index 0af80bb92..a99e2089a 100644
--- a/internal/util/time_test.go
+++ b/internal/util/time_test.go
@@ -20,9 +20,9 @@ package util_test
import (
"testing"
+ "code.superseriousbusiness.org/gotosocial/internal/util"
+ "code.superseriousbusiness.org/gotosocial/testrig"
"github.com/stretchr/testify/suite"
- "github.com/superseriousbusiness/gotosocial/internal/util"
- "github.com/superseriousbusiness/gotosocial/testrig"
)
type TimeSuite struct {
diff --git a/internal/util/xslices/slices_test.go b/internal/util/xslices/slices_test.go
index 7c62ac77f..dfa54181c 100644
--- a/internal/util/xslices/slices_test.go
+++ b/internal/util/xslices/slices_test.go
@@ -23,8 +23,8 @@ import (
"slices"
"testing"
+ "code.superseriousbusiness.org/gotosocial/internal/util/xslices"
"github.com/stretchr/testify/assert"
- "github.com/superseriousbusiness/gotosocial/internal/util/xslices"
)
func TestGrowJust(t *testing.T) {