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