diff --git a/benchmark/benchmark_slog_test.go b/benchmark/benchmark_slog_test.go index 7a47b7d..4b7ef45 100644 --- a/benchmark/benchmark_slog_test.go +++ b/benchmark/benchmark_slog_test.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2021 The logr Authors. diff --git a/context_noslog.go b/context_noslog.go index f012f9a..0a3d1a1 100644 --- a/context_noslog.go +++ b/context_noslog.go @@ -1,5 +1,4 @@ //go:build !go1.21 -// +build !go1.21 /* Copyright 2019 The logr Authors. diff --git a/context_slog.go b/context_slog.go index 065ef0b..c69eb01 100644 --- a/context_slog.go +++ b/context_slog.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2019 The logr Authors. diff --git a/context_slog_test.go b/context_slog_test.go index faf1596..1b5097b 100644 --- a/context_slog_test.go +++ b/context_slog_test.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2021 The logr Authors. diff --git a/example_slogr_test.go b/example_slogr_test.go index 7c370d1..3c2ceeb 100644 --- a/example_slogr_test.go +++ b/example_slogr_test.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2023 The logr Authors. diff --git a/examples/slog/main.go b/examples/slog/main.go index 599d156..5d4c4fc 100644 --- a/examples/slog/main.go +++ b/examples/slog/main.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2023 The logr Authors. diff --git a/funcr/example/main_noslog.go b/funcr/example/main_noslog.go index 2329882..1aaee72 100644 --- a/funcr/example/main_noslog.go +++ b/funcr/example/main_noslog.go @@ -1,5 +1,4 @@ //go:build !go1.21 -// +build !go1.21 /* Copyright 2023 The logr Authors. diff --git a/funcr/example/main_slog.go b/funcr/example/main_slog.go index 90f0419..98b524d 100644 --- a/funcr/example/main_slog.go +++ b/funcr/example/main_slog.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2023 The logr Authors. diff --git a/funcr/slogsink.go b/funcr/slogsink.go index 7bd8476..a6f1141 100644 --- a/funcr/slogsink.go +++ b/funcr/slogsink.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2023 The logr Authors. diff --git a/funcr/slogsink_test.go b/funcr/slogsink_test.go index 8fb8467..2950a09 100644 --- a/funcr/slogsink_test.go +++ b/funcr/slogsink_test.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2021 The logr Authors. diff --git a/internal/testhelp/slog.go b/internal/testhelp/slog.go index dce6139..ac0219d 100644 --- a/internal/testhelp/slog.go +++ b/internal/testhelp/slog.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2023 The logr Authors. diff --git a/internal/testhelp/slog_test.go b/internal/testhelp/slog_test.go index cdc7f61..1cf80d0 100644 --- a/internal/testhelp/slog_test.go +++ b/internal/testhelp/slog_test.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2023 The logr Authors. diff --git a/sloghandler.go b/sloghandler.go index 82d1ba4..befaf55 100644 --- a/sloghandler.go +++ b/sloghandler.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2023 The logr Authors. diff --git a/slogr.go b/slogr.go index 28a83d0..bfe80eb 100644 --- a/slogr.go +++ b/slogr.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2023 The logr Authors. diff --git a/slogr/slogr.go b/slogr/slogr.go index 36432c5..933e715 100644 --- a/slogr/slogr.go +++ b/slogr/slogr.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2023 The logr Authors. diff --git a/slogr_test.go b/slogr_test.go index 939a053..4239dd2 100644 --- a/slogr_test.go +++ b/slogr_test.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2023 The logr Authors. diff --git a/slogsink.go b/slogsink.go index 4060fcb..ab76ea9 100644 --- a/slogsink.go +++ b/slogsink.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2023 The logr Authors. diff --git a/testimpls_slog_test.go b/testimpls_slog_test.go index 5ae2690..e2a2def 100644 --- a/testimpls_slog_test.go +++ b/testimpls_slog_test.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2023 The logr Authors. diff --git a/testr/testr_fuzz_test.go b/testr/testr_fuzz_test.go index ea5217d..3f660f1 100644 --- a/testr/testr_fuzz_test.go +++ b/testr/testr_fuzz_test.go @@ -1,5 +1,4 @@ //go:build go1.18 -// +build go1.18 /* Copyright 2022 The logr Authors.