summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-18 09:24:34 +0300
committerPaul Buetow <paul@buetow.org>2025-06-18 09:24:34 +0300
commita399c65856296f637ae6e9447928d3520b4a133d (patch)
treee7643d70984bc067eeb5e7b285507f79d4799a2f /internal
parentbc62af9dc52dbfb0eb8569a78849ae4d0dd4fc57 (diff)
Fix mutex passing by value in stdout logger
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 <noreply@anthropic.com>
Diffstat (limited to 'internal')
-rw-r--r--internal/io/dlog/loggers/stdout.go2
1 files changed, 1 insertions, 1 deletions
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 }