aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2023-05-16 19:22:58 +0200
committerTeddy Wing2023-05-16 19:50:23 +0200
commit3eef30cf630eda3837a27a237e89207e1ce3dabf (patch)
tree1d3036b608e07696020c41e4068ee51c869ecdfa
parentc084c38557e96ea7dc57aaff172859245d1ee344 (diff)
downloadgocapturedrefrace-3eef30cf630eda3837a27a237e89207e1ce3dabf.tar.bz2
Rename module to `gopkg.teddywing.com/gocapturedrefrace`
Decided not to use my personal Git host directly for the module, but a new domain specific to Go modules. This could allow me to host the code elsewhere using a vanity module name.
-rw-r--r--cmd/gocapturedrefrace/main.go2
-rw-r--r--go.mod2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/gocapturedrefrace/main.go b/cmd/gocapturedrefrace/main.go
index d637a38..d2aa598 100644
--- a/cmd/gocapturedrefrace/main.go
+++ b/cmd/gocapturedrefrace/main.go
@@ -1,8 +1,8 @@
package main
import (
- "git.teddywing.com/gocapturedrefrace"
"golang.org/x/tools/go/analysis/singlechecker"
+ "gopkg.teddywing.com/gocapturedrefrace"
)
func main() {
diff --git a/go.mod b/go.mod
index 218c9d0..2a93e77 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module git.teddywing.com/gocapturedrefrace
+module gopkg.teddywing.com/gocapturedrefrace
go 1.20