sway/get_tree.go

10 lines
139 B
Go
Raw Normal View History

package sway
import (
"context"
)
func (c *Client) GetTree(ctx context.Context) (*Node, error) {
return sendMessage[*Node](c, 4, "")
}