docstrings added to functions, types and methods

CHANGELOG first update

pre-commit updated to look in root of repo.

version retraction added to go.mod

README updated to reflect changes
This commit is contained in:
onyx-and-iris
2022-07-10 23:08:14 +01:00
parent 36522cf80c
commit 1efac19b12
22 changed files with 351 additions and 113 deletions

View File

@@ -1,9 +1,11 @@
package voicemeeter
//command represents command (action) type parameters
type command struct {
iRemote
}
// newCommand returns a pointer to a command type
func newCommand() *command {
return &command{iRemote{"command", 0}}
}
@@ -29,7 +31,6 @@ func (c *command) Restart() {
}
// Lock locks or unlocks the Voiceemeter GUI
// it accepts a boolean value
func (c *command) Lock(val bool) {
var value float32
if val {