diff --git a/plugin/kslog/go.mod b/plugin/kslog/go.mod index 0356b1b0..5e0ab27b 100644 --- a/plugin/kslog/go.mod +++ b/plugin/kslog/go.mod @@ -1,4 +1,4 @@ -module github.com/utilitywarehouse/franz-go/plugin/kslog +module github.com/twmb/franz-go/plugin/kslog go 1.21.0 diff --git a/plugin/kslog/kslog_test.go b/plugin/kslog/kslog_test.go index 4c84d027..54371387 100644 --- a/plugin/kslog/kslog_test.go +++ b/plugin/kslog/kslog_test.go @@ -1,14 +1,15 @@ -package kslog +package kslog_test import ( "log/slog" - "testing" "github.com/twmb/franz-go/pkg/kgo" + "github.com/twmb/franz-go/plugin/kslog" ) -func TestNew(_ *testing.T) { - l := New(slog.Default()) +func ExampleNew() { + l := kslog.New(slog.Default()) l.Log(kgo.LogLevelInfo, "test message", "test-key", "test-val") + // Output: }