enable revive linter

- add package comments
- fix redeclaration of built-in min/max
- add comments to exported types
- remove unused parameters
This commit is contained in:
2026-02-15 12:22:22 +00:00
parent ac8f635263
commit 7a0d5c56e5
17 changed files with 71 additions and 59 deletions

View File

@@ -2,6 +2,7 @@ package xair
import "fmt"
// Main represents the main output parameters of the mixer.
type Main struct {
client *client
baseAddress string
@@ -11,7 +12,7 @@ type Main struct {
// newMainStereo creates a new Main instance for stereo main output.
func newMainStereo(c *client) *Main {
addressFunc := func(fmtString string, args ...any) string {
addressFunc := func(fmtString string, _ ...any) string {
return fmtString
}
@@ -25,7 +26,7 @@ func newMainStereo(c *client) *Main {
// newMainMono creates a new MainMono instance for mono main output (X32 only).
func newMainMono(c *client) *Main {
addressFunc := func(fmtString string, args ...any) string {
addressFunc := func(fmtString string, _ ...any) string {
return fmtString
}