mirror of
https://github.com/onyx-and-iris/xair-cli.git
synced 2026-04-09 02:13:35 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user