mirror of
https://github.com/onyx-and-iris/xair-cli.git
synced 2026-04-09 02:13:35 +00:00
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:
@@ -3,14 +3,14 @@ package xair
|
||||
import "fmt"
|
||||
|
||||
type Snapshot struct {
|
||||
baseAddress string
|
||||
client *Client
|
||||
baseAddress string
|
||||
}
|
||||
|
||||
func NewSnapshot(c *Client) *Snapshot {
|
||||
func newSnapshot(c *Client) *Snapshot {
|
||||
return &Snapshot{
|
||||
baseAddress: c.addressMap["snapshot"],
|
||||
client: c,
|
||||
baseAddress: c.addressMap["snapshot"],
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user