From a399c65856296f637ae6e9447928d3520b4a133d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 18 Jun 2025 09:24:34 +0300 Subject: Fix mutex passing by value in stdout logger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed SupportsColors method receiver from value to pointer to avoid passing sync.Mutex by value, resolving go vet warning. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- internal/io/dlog/loggers/stdout.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/io/dlog/loggers/stdout.go b/internal/io/dlog/loggers/stdout.go index ef30855..8c80725 100644 --- a/internal/io/dlog/loggers/stdout.go +++ b/internal/io/dlog/loggers/stdout.go @@ -69,4 +69,4 @@ func (s *stdout) Rotate() { // This is empty because it isn't doing anything but has to satisfy the interface. } -func (stdout) SupportsColors() bool { return true } +func (s *stdout) SupportsColors() bool { return true } -- cgit v1.2.3