From 27edfccf7dc4f7ad329dabfb12fa75e547ecdd40 Mon Sep 17 00:00:00 2001 From: Daenney Date: Sat, 26 Apr 2025 15:34:10 +0200 Subject: [feature] Move to code.superseriousbusiness.org --- internal/cache/cache.go | 8 ++++---- internal/cache/db.go | 8 ++++---- internal/cache/domain/domain_test.go | 2 +- internal/cache/headerfilter/filter.go | 4 ++-- internal/cache/invalidate.go | 4 ++-- internal/cache/size.go | 10 +++++----- internal/cache/util.go | 2 +- internal/cache/visibility.go | 4 ++-- 8 files changed, 21 insertions(+), 21 deletions(-) (limited to 'internal/cache') diff --git a/internal/cache/cache.go b/internal/cache/cache.go index 7844c03f8..3fd9b4593 100644 --- a/internal/cache/cache.go +++ b/internal/cache/cache.go @@ -20,11 +20,11 @@ package cache import ( "time" + "code.superseriousbusiness.org/gotosocial/internal/cache/headerfilter" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-cache/v3/ttl" - "github.com/superseriousbusiness/gotosocial/internal/cache/headerfilter" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/log" ) type Caches struct { diff --git a/internal/cache/db.go b/internal/cache/db.go index 82cd9ac5f..31e78f0a5 100644 --- a/internal/cache/db.go +++ b/internal/cache/db.go @@ -20,11 +20,11 @@ package cache import ( "sync/atomic" + "code.superseriousbusiness.org/gotosocial/internal/cache/domain" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-structr" - "github.com/superseriousbusiness/gotosocial/internal/cache/domain" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/log" ) type DBCaches struct { diff --git a/internal/cache/domain/domain_test.go b/internal/cache/domain/domain_test.go index 974425b7c..a3cbbca78 100644 --- a/internal/cache/domain/domain_test.go +++ b/internal/cache/domain/domain_test.go @@ -21,7 +21,7 @@ import ( "errors" "testing" - "github.com/superseriousbusiness/gotosocial/internal/cache/domain" + "code.superseriousbusiness.org/gotosocial/internal/cache/domain" ) func TestCache(t *testing.T) { diff --git a/internal/cache/headerfilter/filter.go b/internal/cache/headerfilter/filter.go index 96b6e757f..afab0b3f7 100644 --- a/internal/cache/headerfilter/filter.go +++ b/internal/cache/headerfilter/filter.go @@ -22,8 +22,8 @@ import ( "net/http" "sync/atomic" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/headerfilter" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/headerfilter" ) // Cache provides a means of caching headerfilter.Filters in diff --git a/internal/cache/invalidate.go b/internal/cache/invalidate.go index 949238ec6..3512bb51e 100644 --- a/internal/cache/invalidate.go +++ b/internal/cache/invalidate.go @@ -18,8 +18,8 @@ package cache import ( - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/util" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/util" ) // Below are cache invalidation hooks between other caches, diff --git a/internal/cache/size.go b/internal/cache/size.go index 9a30d5f08..2d9acc7ba 100644 --- a/internal/cache/size.go +++ b/internal/cache/size.go @@ -23,13 +23,13 @@ import ( "time" "unsafe" + "code.superseriousbusiness.org/gotosocial/internal/ap" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtsmodel" + "code.superseriousbusiness.org/gotosocial/internal/id" + "code.superseriousbusiness.org/gotosocial/internal/util" "codeberg.org/gruf/go-cache/v3/simple" "github.com/DmitriyVTitov/size" - "github.com/superseriousbusiness/gotosocial/internal/ap" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" - "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/util" ) const ( diff --git a/internal/cache/util.go b/internal/cache/util.go index ceb053e34..783fc2e24 100644 --- a/internal/cache/util.go +++ b/internal/cache/util.go @@ -20,8 +20,8 @@ package cache import ( "errors" + "code.superseriousbusiness.org/gotosocial/internal/db" errorsv2 "codeberg.org/gruf/go-errors/v2" - "github.com/superseriousbusiness/gotosocial/internal/db" ) // SentinelError is an error that can be returned and checked against to indicate a non-permanent diff --git a/internal/cache/visibility.go b/internal/cache/visibility.go index a424ca5ac..63927cf08 100644 --- a/internal/cache/visibility.go +++ b/internal/cache/visibility.go @@ -18,9 +18,9 @@ package cache import ( + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" "codeberg.org/gruf/go-structr" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" ) type VisibilityCache struct { -- cgit v1.3