From e5c4d261c5544e4362ada2a2785506aa6c86369d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 3 May 2025 19:44:51 -0300 Subject: re s/guuid/uuid/g --- src/gobang.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gobang.go') diff --git a/src/gobang.go b/src/gobang.go index 9718361..ef22547 100644 --- a/src/gobang.go +++ b/src/gobang.go @@ -17,7 +17,7 @@ import ( "strings" "time" - "guuid" + "uuid" ) @@ -213,7 +213,7 @@ func sourceInfo(skip int) slog.Attr { func logArgs(type_ string) []string { return []string { - "id", guuid.New().String(), + "id", uuid.New().String(), "kind", "log", "type", type_, } @@ -296,7 +296,7 @@ func metric(type_ string, label string, args ...any) { "_", slices.Concat( []any { - "id", guuid.New().String(), + "id", uuid.New().String(), "kind", "metric", "type", type_, "label", label, @@ -521,7 +521,7 @@ func SetLoggerOutput(w io.Writer, args ...any) { "info", "pid", os.Getpid(), "ppid", os.Getppid(), - "puuid", guuid.New().String(), + "puuid", uuid.New().String(), ), ).With(args...)) } -- cgit v1.2.3