summaryrefslogtreecommitdiff
path: root/src/hsts.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/hsts.go')
-rw-r--r--src/hsts.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hsts.go b/src/hsts.go
index 16082de..5f3cee5 100644
--- a/src/hsts.go
+++ b/src/hsts.go
@@ -7,7 +7,7 @@ import (
"net/http"
"os"
- "guuid"
+ "uuid"
g "gobang"
)
@@ -21,7 +21,7 @@ func redirectHandler(w http.ResponseWriter, r *http.Request) {
target := "https://" + r.Host + r.RequestURI
http.Redirect(w, r, target, http.StatusMovedPermanently)
countRedirection(
- "id", guuid.New().String(),
+ "id", uuid.New().String(),
"url-path", r.URL.Path,
"req-pattern", r.Pattern,
"method", r.Method,
@@ -38,7 +38,7 @@ func listen(fromAddr string) net.Listener {
"from-address", fromAddr,
slog.Group(
"versions",
- "guuid", guuid.Version,
+ "uuid", uuid.Version,
"gobang", g.Version,
"hsts", Version,
),