mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-18 16:46:17 +00:00
- Fixed nil pointer dereference warnings by using t.Fatal instead of t.Error - In unified_test.go: Changed service nil check to use t.Fatal - In clockdisplay_test.go: Changed request nil check to use t.Fatal Using t.Fatal ensures test execution stops if pointer is nil, eliminating possibility of subsequent nil pointer dereference. Progress: Eliminated all 5 staticcheck issues Total issues: 21 → 16 (24% improvement) Remaining: - gocyclo: 14 (complexity - requires refactoring) - revive: 1 (DiscoveryService naming) - unparam: 1 (client.post result parameter)