From a587163c822e80527f6acc78c1edac3410327854 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Thu, 21 Nov 2024 15:57:12 +0100 Subject: Replace all links from GitHub to Codeberg --- internal/api/api.go | 14 +++++++------- internal/api/api_test.go | 12 ++++++------ internal/api/cache.go | 2 +- internal/api/profiles/profiles.go | 4 ++-- 4 files changed, 16 insertions(+), 16 deletions(-) (limited to 'internal/api') diff --git a/internal/api/api.go b/internal/api/api.go index 9b794db..ea0fc6f 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -13,13 +13,13 @@ import ( "github.com/jwijenbergh/eduoauth-go" "golang.zx2c4.com/wireguard/wgctrl/wgtypes" - "github.com/eduvpn/eduvpn-common/internal/api/endpoints" - "github.com/eduvpn/eduvpn-common/internal/api/profiles" - httpw "github.com/eduvpn/eduvpn-common/internal/http" - "github.com/eduvpn/eduvpn-common/internal/log" - "github.com/eduvpn/eduvpn-common/internal/wireguard" - "github.com/eduvpn/eduvpn-common/types/protocol" - "github.com/eduvpn/eduvpn-common/types/server" + "codeberg.org/eduVPN/eduvpn-common/internal/api/endpoints" + "codeberg.org/eduVPN/eduvpn-common/internal/api/profiles" + httpw "codeberg.org/eduVPN/eduvpn-common/internal/http" + "codeberg.org/eduVPN/eduvpn-common/internal/log" + "codeberg.org/eduVPN/eduvpn-common/internal/wireguard" + "codeberg.org/eduVPN/eduvpn-common/types/protocol" + "codeberg.org/eduVPN/eduvpn-common/types/server" ) // Callbacks is the API callback interface diff --git a/internal/api/api_test.go b/internal/api/api_test.go index 9648544..1f70b20 100644 --- a/internal/api/api_test.go +++ b/internal/api/api_test.go @@ -14,12 +14,12 @@ import ( "testing" "time" - "github.com/eduvpn/eduvpn-common/internal/api/profiles" - httpw "github.com/eduvpn/eduvpn-common/internal/http" - "github.com/eduvpn/eduvpn-common/internal/test" - "github.com/eduvpn/eduvpn-common/internal/wireguard" - "github.com/eduvpn/eduvpn-common/types/protocol" - "github.com/eduvpn/eduvpn-common/types/server" + "codeberg.org/eduVPN/eduvpn-common/internal/api/profiles" + httpw "codeberg.org/eduVPN/eduvpn-common/internal/http" + "codeberg.org/eduVPN/eduvpn-common/internal/test" + "codeberg.org/eduVPN/eduvpn-common/internal/wireguard" + "codeberg.org/eduVPN/eduvpn-common/types/protocol" + "codeberg.org/eduVPN/eduvpn-common/types/server" "github.com/jwijenbergh/eduoauth-go" ) diff --git a/internal/api/cache.go b/internal/api/cache.go index 420a4b0..9a478df 100644 --- a/internal/api/cache.go +++ b/internal/api/cache.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "github.com/eduvpn/eduvpn-common/internal/api/endpoints" + "codeberg.org/eduVPN/eduvpn-common/internal/api/endpoints" ) // EndpointCache is a struct that caches well-known API endpoints diff --git a/internal/api/profiles/profiles.go b/internal/api/profiles/profiles.go index eba5ece..9f51064 100644 --- a/internal/api/profiles/profiles.go +++ b/internal/api/profiles/profiles.go @@ -3,8 +3,8 @@ package profiles import ( - "github.com/eduvpn/eduvpn-common/types/protocol" - "github.com/eduvpn/eduvpn-common/types/server" + "codeberg.org/eduVPN/eduvpn-common/types/protocol" + "codeberg.org/eduVPN/eduvpn-common/types/server" ) // Profile is the information for a profile -- cgit v1.2.3