mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-22 04:40:53 +00:00
update install instructions in readme.
This commit is contained in:
parent
0d06098af8
commit
3ab5daa61c
@ -19,7 +19,12 @@ For an outline of past/future changes refer to: [CHANGELOG](CHANGELOG.md)
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
`go get github.com/onyx-and-iris/voicemeeter`
|
Initialize your own module then `go get`
|
||||||
|
|
||||||
|
```
|
||||||
|
go mod init github.com/x/y
|
||||||
|
go get github.com/onyx-and-iris/voicemeeter
|
||||||
|
```
|
||||||
|
|
||||||
## `Use`
|
## `Use`
|
||||||
|
|
||||||
@ -48,7 +53,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func vmConnect() (*voicemeeter.Remote, error) {
|
func vmConnect() (*voicemeeter.Remote, error) {
|
||||||
vm, err := voicemeeter.NewRemote("banana", 15)
|
vm, err := voicemeeter.NewRemote("banana", 20)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user