aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--go.mod2
-rw-r--r--main.go4
-rw-r--r--routes/handler.go2
-rw-r--r--routes/routes.go4
-rw-r--r--routes/template.go2
-rw-r--r--routes/util.go2
7 files changed, 9 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
index ef97739..a1f83e7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-legit
+legitrx
diff --git a/go.mod b/go.mod
index b5526df..887cf08 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module git.icyphox.sh/legit
+module git.sr.ht/~runxiyu/legitrx
go 1.22
diff --git a/main.go b/main.go
index cb1d2f0..bc3f80f 100644
--- a/main.go
+++ b/main.go
@@ -6,8 +6,8 @@ import (
"log"
"net/http"
- "git.icyphox.sh/legit/config"
- "git.icyphox.sh/legit/routes"
+ "git.sr.ht/~runxiyu/legitrx/config"
+ "git.sr.ht/~runxiyu/legitrx/routes"
)
func main() {
diff --git a/routes/handler.go b/routes/handler.go
index bbe5e2c..f2710c4 100644
--- a/routes/handler.go
+++ b/routes/handler.go
@@ -3,7 +3,7 @@ package routes
import (
"net/http"
- "git.icyphox.sh/legit/config"
+ "git.sr.ht/~runxiyu/legitrx/config"
)
// Checks for gitprotocol-http(5) specific smells; if found, passes
diff --git a/routes/routes.go b/routes/routes.go
index e22c7f9..a8963b1 100644
--- a/routes/routes.go
+++ b/routes/routes.go
@@ -11,8 +11,8 @@ import (
"strconv"
"time"
- "git.icyphox.sh/legit/config"
- "git.icyphox.sh/legit/git"
+ "git.sr.ht/~runxiyu/legitrx/config"
+ "git.sr.ht/~runxiyu/legitrx/git"
"github.com/dustin/go-humanize"
"github.com/microcosm-cc/bluemonday"
"github.com/russross/blackfriday/v2"
diff --git a/routes/template.go b/routes/template.go
index 0b03015..8a22f5f 100644
--- a/routes/template.go
+++ b/routes/template.go
@@ -9,7 +9,7 @@ import (
"path/filepath"
"strings"
- "git.icyphox.sh/legit/git"
+ "git.sr.ht/~runxiyu/legitrx/git"
)
func (d *deps) Write404(w http.ResponseWriter) {
diff --git a/routes/util.go b/routes/util.go
index bc15b7e..956b9a4 100644
--- a/routes/util.go
+++ b/routes/util.go
@@ -7,7 +7,7 @@ import (
"path/filepath"
"strings"
- "git.icyphox.sh/legit/git"
+ "git.sr.ht/~runxiyu/legitrx/git"
)
func isGoModule(gr *git.GitRepo) bool {