From: Sergey Matveev Date: Tue, 23 Jul 2024 06:47:48 +0000 (+0300) Subject: Change namespace because of domain expiration X-Git-Tag: v2.0.0^0 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e7dc7ffe1b1d91e27d87de2ffcc0421c4206cdc9;p=gorecfile.git Change namespace because of domain expiration --- diff --git a/README b/README index 7d38e94..e870947 100644 --- a/README +++ b/README @@ -11,7 +11,7 @@ Limitations: * leading spaces in the first line of the value are ignored * trailing backslash at the end of lines is followed by space -Also there is go.cypherpunks.ru/recfile/slog.NewRecfileHandler log/slog +Also there is go.cypherpunks.su/recfile/v2/slog.NewRecfileHandler log/slog handler to write your logs in recfile format directly. It is free software: see the file COPYING for copying conditions. diff --git a/cmd/gorecsel/main.go b/cmd/gorecsel/main.go index 13844c6..2266292 100644 --- a/cmd/gorecsel/main.go +++ b/cmd/gorecsel/main.go @@ -5,7 +5,7 @@ import ( "io" "os" - "go.cypherpunks.ru/recfile" + "go.cypherpunks.su/recfile/v2" ) func main() { diff --git a/go.mod b/go.mod index 6f8d7f4..848fe24 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module go.cypherpunks.ru/recfile +module go.cypherpunks.su/recfile/v2 go 1.21 diff --git a/slog/handler.go b/slog/handler.go index 43f1a13..5f6a98c 100644 --- a/slog/handler.go +++ b/slog/handler.go @@ -23,7 +23,7 @@ import ( "sync" "time" - "go.cypherpunks.ru/recfile" + "go.cypherpunks.su/recfile/v2" ) type RecfileHandler struct { diff --git a/slog/handler_test.go b/slog/handler_test.go index 108e8f2..514df18 100644 --- a/slog/handler_test.go +++ b/slog/handler_test.go @@ -22,7 +22,7 @@ import ( "testing" "time" - "go.cypherpunks.ru/recfile" + "go.cypherpunks.su/recfile/v2" ) func TestBasic(t *testing.T) {