mirror of
https://github.com/onyx-and-iris/xair-cli.git
synced 2026-04-09 02:13:35 +00:00
pass base addresses to factory methods
This commit is contained in:
@@ -14,8 +14,8 @@ func newMatrix(c *Client) *Matrix {
|
||||
return &Matrix{
|
||||
client: c,
|
||||
baseAddress: c.addressMap["matrix"],
|
||||
Eq: newEqForMatrix(c),
|
||||
Comp: newCompForMatrix(c),
|
||||
Eq: newEqForMatrix(c, c.addressMap["matrix"]),
|
||||
Comp: newCompForMatrix(c, c.addressMap["matrix"]),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user