README | 2 +- cmd/gorecsel/main.go | 2 +- go.mod | 2 +- slog/handler.go | 2 +- slog/handler_test.go | 2 +- diff --git a/README b/README index 9d570cfcfc006cf2a2f7d21672c5e1d06a2c5fbfdd47811f36096dd568d30364..56582839111554c801a8078b3254c0f7ad001ca236f561eeb90edcb0098a32c9 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 8f56ad664d8f3b80b1c370b0e0634a6ea7f33650e73347d706e5748cadf79b4c..60b7c70e0ca60c84749fdc7dd115b1ee3970738d9f3d5226b3cef9b409008520 100644 --- a/cmd/gorecsel/main.go +++ b/cmd/gorecsel/main.go @@ -5,7 +5,7 @@ "fmt" "io" "os" - "go.cypherpunks.ru/recfile" + "go.cypherpunks.su/recfile/v2" ) func main() { diff --git a/go.mod b/go.mod index f635f535fa40ca69174d31b5cce57c2f98b19e6702ab680b8a69aec7e28400ac..bcf2e49c6b2be7d5004829e71f67a77d3651eda409a43e136d263b09127ab67c 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 829f7d6bbe7f2f9aef84ea5c2677c55bc01d28249ce38f8488ff8492048bf046..3ec01b973c770868a7a72a0ec163c794e5ff03129e288be6d80cd1ed2442d608 100644 --- a/slog/handler.go +++ b/slog/handler.go @@ -23,7 +23,7 @@ "log/slog" "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 e8e2963e95b3205efecc01b76bfa3b508b5a00cc8e4a48bd2f25e5810005334a..080e7b65812a3f527683086d4890b6daa716964e8e9ea10310bdc6fed173fd35 100644 --- a/slog/handler_test.go +++ b/slog/handler_test.go @@ -22,7 +22,7 @@ "log/slog" "testing" "time" - "go.cypherpunks.ru/recfile" + "go.cypherpunks.su/recfile/v2" ) func TestBasic(t *testing.T) {