sway/get_version.go

7 lines
163 B
Go

package sway
// GetVersion returns information about the sway version
func (c *Client) GetVersion() (*Version, error) {
return sendMessage[*Version](c, 7, "")
}