sway/get_tree.go

10 lines
139 B
Go

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