update install instructions in readme.

This commit is contained in:
onyx-and-iris 2022-09-29 18:04:13 +01:00
parent 0d06098af8
commit 3ab5daa61c

View File

@ -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
} }