diff options
author | EuAndreh <eu@euandre.org> | 2025-05-03 19:53:39 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-05-03 19:53:39 -0300 |
commit | ae03bec81eb64a2105b054cce6022306aec90734 (patch) | |
tree | add5dd057c71e821da73f851ec7b7460c9f13b6d | |
parent | First version with code imported from glaze, without tests (diff) | |
download | hsts-ae03bec81eb64a2105b054cce6022306aec90734.tar.gz hsts-ae03bec81eb64a2105b054cce6022306aec90734.tar.xz |
re s/guuid/uuid/g
Diffstat (limited to '')
-rw-r--r-- | src/hsts.go | 6 |
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, ), |