main comp/eq commands implemented

factory methods unexported

lr.go renamed to main.go
main.go renamed to cli.go
This commit is contained in:
2026-02-07 01:28:59 +00:00
parent e80f17d211
commit 1597f8f352
12 changed files with 700 additions and 293 deletions

View File

@@ -3,14 +3,15 @@ package xair
import "fmt"
type HeadAmp struct {
baseAddress string
client *Client
baseAddress string
}
func NewHeadAmp(c *Client) *HeadAmp {
// newHeadAmp creates a new HeadAmp instance with the provided client.
func newHeadAmp(c *Client) *HeadAmp {
return &HeadAmp{
baseAddress: c.addressMap["headamp"],
client: c,
baseAddress: c.addressMap["headamp"],
}
}