* 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.
"io"
"os"
- "go.cypherpunks.ru/recfile"
+ "go.cypherpunks.su/recfile/v2"
)
func main() {
-module go.cypherpunks.ru/recfile
+module go.cypherpunks.su/recfile/v2
go 1.21
"sync"
"time"
- "go.cypherpunks.ru/recfile"
+ "go.cypherpunks.su/recfile/v2"
)
type RecfileHandler struct {
"testing"
"time"
- "go.cypherpunks.ru/recfile"
+ "go.cypherpunks.su/recfile/v2"
)
func TestBasic(t *testing.T) {