From 418d04a08e7a50e6fe631a379f8ce0538c2e3427 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 15 Dec 2022 11:27:39 +0000 Subject: [PATCH] fix docstrings --- examples/observer/main.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/observer/main.go b/examples/observer/main.go index 9e4a422..8d0d00b 100644 --- a/examples/observer/main.go +++ b/examples/observer/main.go @@ -20,7 +20,7 @@ func newObserver(vm *voicemeeter.Remote) *observer { return &observer{vm, make(chan string)} } -// Listen registers the observer channel and listens for udpates. +// Listen registers the observer channel and listens for updates. func (o observer) Listen() { o.vm.Register(o.events) @@ -53,8 +53,7 @@ func runObserver(vm *voicemeeter.Remote) { go o.Listen() } -// main connects to Voiceemeter, registers observer for updates -// runs updates for 30 seconds and then deregisters observer. +// main connects to Voiceemeter and runs a single observer for 30 seconds. func main() { vm, err := vmConnect() if err != nil {