sway/get_version.go

10 lines
148 B
Go
Raw Normal View History

package sway
import (
"context"
)
func (c *Client) GetVersion(ctx context.Context) (*Version, error) {
return sendMessage[*Version](c, 7, "")
}