diff options
author | EuAndreh <eu@euandre.org> | 2024-11-09 21:39:13 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-11-09 21:39:13 -0300 |
commit | f9ef7b65ec1d464edc32847b69eb073f936c7e30 (patch) | |
tree | 1e6609b8934ff81ba60b729f61a25ef2cff69da7 /src | |
parent | src/glaze.go: Remove leftover println (diff) | |
download | glaze-f9ef7b65ec1d464edc32847b69eb073f936c7e30.tar.gz glaze-f9ef7b65ec1d464edc32847b69eb073f936c7e30.tar.xz |
src/glaze.go: Turn UUID into string for log
Diffstat (limited to 'src')
-rw-r--r-- | src/glaze.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glaze.go b/src/glaze.go index 69e8458..efb9ab9 100644 --- a/src/glaze.go +++ b/src/glaze.go @@ -203,7 +203,7 @@ func handlerForDynPath(path string) (pathInfo, func(pathInfo, http.ResponseWrite func handlerFor(path string) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - id := guuid.New() + id := guuid.New().String() g.Info("in-request", "in-request", "path", path, "id", id) defer g.Info("in-response", "in-response", "path", path, "id", id) |