diff --git a/Makefile b/Makefile
index 6e45f57..70dcfc8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-ROOT_PKG ?= "github.com/vartanbeno/go-reddit"
+ROOT_PKG ?= "git.the-red-comet.org/guy176251/go-reddit"
LIST_PKG := $(shell go list $(ROOT_PKG)/...)
# Tests
diff --git a/README.md b/README.md
index 8f7131d..8ea3dbd 100644
--- a/README.md
+++ b/README.md
@@ -6,9 +6,9 @@
-[](https://github.com/vartanbeno/go-reddit/actions)
-[](https://goreportcard.com/report/github.com/vartanbeno/go-reddit)
-[](https://pkg.go.dev/github.com/vartanbeno/go-reddit/v2/reddit)
+[](https://git.the-red-comet.org/guy176251/go-reddit/actions)
+[](https://goreportcard.com/report/git.the-red-comet.org/guy176251/go-reddit)
+[](https://pkg.go.dev/git.the-red-comet.org/guy176251/go-reddit/v2/reddit)
@@ -24,16 +24,16 @@ You can view Reddit's official API documentation [here](https://www.reddit.com/d
## Install
-To get a specific version from the list of [versions](https://github.com/vartanbeno/go-reddit/releases):
+To get a specific version from the list of [versions](https://git.the-red-comet.org/guy176251/go-reddit/releases):
```sh
-go get github.com/vartanbeno/go-reddit/v2@vX.Y.Z
+go get git.the-red-comet.org/guy176251/go-reddit/v2@vX.Y.Z
```
Or for the latest version:
```sh
-go get github.com/vartanbeno/go-reddit/v2
+go get git.the-red-comet.org/guy176251/go-reddit/v2
```
The repository structure for managing multiple major versions follows the one outlined [here](https://github.com/go-modules-by-example/index/tree/master/016_major_version_repo_strategy#major-branch-strategy).
@@ -45,7 +45,7 @@ Make sure to have a Reddit app with a valid client id and secret. [Here](https:/
```go
package main
-import "github.com/vartanbeno/go-reddit/v2/reddit"
+import "git.the-red-comet.org/guy176251/go-reddit/v2/reddit"
func main() {
credentials := reddit.Credentials{ID: "id", Secret: "secret", Username: "username", Password: "password"}
diff --git a/examples/client-on-request-completed/main.go b/examples/client-on-request-completed/main.go
index 148d074..64a1417 100644
--- a/examples/client-on-request-completed/main.go
+++ b/examples/client-on-request-completed/main.go
@@ -7,7 +7,7 @@ import (
"log"
"net/http"
- "github.com/vartanbeno/go-reddit/v2/reddit"
+ "git.the-red-comet.org/guy176251/go-reddit/v2/reddit"
)
var ctx = context.Background()
diff --git a/examples/get-subreddit/main.go b/examples/get-subreddit/main.go
index 69dfcbd..f62ccaf 100644
--- a/examples/get-subreddit/main.go
+++ b/examples/get-subreddit/main.go
@@ -5,7 +5,7 @@ import (
"fmt"
"log"
- "github.com/vartanbeno/go-reddit/v2/reddit"
+ "git.the-red-comet.org/guy176251/go-reddit/v2/reddit"
)
var ctx = context.Background()
diff --git a/examples/get-top-posts/main.go b/examples/get-top-posts/main.go
index c01a6bb..b104ccf 100644
--- a/examples/get-top-posts/main.go
+++ b/examples/get-top-posts/main.go
@@ -5,7 +5,7 @@ import (
"fmt"
"log"
- "github.com/vartanbeno/go-reddit/v2/reddit"
+ "git.the-red-comet.org/guy176251/go-reddit/v2/reddit"
)
var ctx = context.Background()
diff --git a/examples/search/main.go b/examples/search/main.go
index 87317bf..55b2ba5 100644
--- a/examples/search/main.go
+++ b/examples/search/main.go
@@ -5,7 +5,7 @@ import (
"log/slog"
"os"
- "github.com/vartanbeno/go-reddit/v2/reddit"
+ "git.the-red-comet.org/guy176251/go-reddit/v2/reddit"
)
type Post struct {
diff --git a/examples/stream-posts/main.go b/examples/stream-posts/main.go
index bce4d0f..9d68610 100644
--- a/examples/stream-posts/main.go
+++ b/examples/stream-posts/main.go
@@ -8,7 +8,7 @@ import (
"syscall"
"time"
- "github.com/vartanbeno/go-reddit/v2/reddit"
+ "git.the-red-comet.org/guy176251/go-reddit/v2/reddit"
)
var ctx = context.Background()
diff --git a/examples/submit-post/main.go b/examples/submit-post/main.go
index 61f3a67..289d8fc 100644
--- a/examples/submit-post/main.go
+++ b/examples/submit-post/main.go
@@ -5,7 +5,7 @@ import (
"fmt"
"log"
- "github.com/vartanbeno/go-reddit/v2/reddit"
+ "git.the-red-comet.org/guy176251/go-reddit/v2/reddit"
)
var ctx = context.Background()
diff --git a/go.mod b/go.mod
index 0d3d59f..d3b6546 100644
--- a/go.mod
+++ b/go.mod
@@ -3,6 +3,7 @@ module git.the-red-comet.org/guy176251/go-reddit/v2
go 1.24.0
require (
+ github.com/andybalholm/brotli v1.2.0
github.com/enetx/surf v1.0.173
github.com/google/go-querystring v1.0.0
github.com/stretchr/testify v1.11.1
@@ -11,7 +12,6 @@ require (
)
require (
- github.com/andybalholm/brotli v1.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/enetx/g v1.0.202 // indirect
github.com/enetx/http v1.0.24 // indirect
diff --git a/reddit/reddit.go b/reddit/reddit.go
index 726f49a..6073ef8 100644
--- a/reddit/reddit.go
+++ b/reddit/reddit.go
@@ -21,7 +21,7 @@ import (
)
const (
- libraryName = "github.com/vartanbeno/go-reddit"
+ libraryName = "git.the-red-comet.org/guy176251/go-reddit"
libraryVersion = "2.0.0"
defaultBaseURL = "https://oauth.reddit.com"