summaryrefslogtreecommitdiff
path: root/internal/api
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-11-21 15:57:12 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2024-11-21 16:06:22 +0100
commita587163c822e80527f6acc78c1edac3410327854 (patch)
tree15ddd4ee5e2f7af01eeef98fb4adc4bd6c651776 /internal/api
parent72edbfe5d2d51b7dbaaa6ac6fe96cfbd43b60069 (diff)
Replace all links from GitHub to Codeberg
Diffstat (limited to 'internal/api')
-rw-r--r--internal/api/api.go14
-rw-r--r--internal/api/api_test.go12
-rw-r--r--internal/api/cache.go2
-rw-r--r--internal/api/profiles/profiles.go4
4 files changed, 16 insertions, 16 deletions
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