Skip to main content

all: change the package path to `alexwlchan.net/gotools`

ID
4df88fb
date
2026-11-04 05:35:38+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
8f2351d
message
all: change the package path to `alexwlchan.net/gotools`

This makes the path cleaner and removes redundant information. It's
accompanied by a change on my web server to handle `/gotools?go-get=1`
and redirect `/gotools/` to `/projects/gotools/`.
changed files
3 files, 3 additions, 3 deletions

Changed files

README.md (1633 → 1624)

diff --git a/README.md b/README.md
index 28b7fa4..5fafbda 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ $ go install golang.org/x/perf/cmd/benchstat@latest
 Then install `gobench`:
 
 ```console
-$ go install alexwlchan.net/projects/gotools/cmd/gobench@latest
+$ go install alexwlchan.net/gotools/cmd/gobench@latest
 ```
 
 ### Usage and flags

cmd/gobench/gobench.go (6745 → 6736)

diff --git a/cmd/gobench/gobench.go b/cmd/gobench/gobench.go
index 2c7216d..ee57047 100644
--- a/cmd/gobench/gobench.go
+++ b/cmd/gobench/gobench.go
@@ -13,7 +13,7 @@ import (
 	"path/filepath"
 	"strings"
 
-	"alexwlchan.net/projects/gotools/internal/git"
+	"alexwlchan.net/gotools/internal/git"
 	"github.com/schollz/progressbar/v3"
 )
 

go.mod (319 → 310)

diff --git a/go.mod b/go.mod
index 2107315..9f3cd85 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module alexwlchan.net/projects/gotools
+module alexwlchan.net/gotools
 
 go 1.27.0