From ae03bec81eb64a2105b054cce6022306aec90734 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 3 May 2025 19:53:39 -0300 Subject: re s/guuid/uuid/g --- src/hsts.go | 6 +++--- 1 file 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, ), -- cgit v1.2.3