mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2026-04-18 05:23:31 +00:00
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:
@@ -1,6 +1,7 @@
|
||||
package voicemeeter
|
||||
|
||||
type t_outputs interface {
|
||||
// iOutputs defines the interface outputs type must satisfy
|
||||
type iOutputs interface {
|
||||
GetA1() bool
|
||||
SetA1(val bool)
|
||||
GetA2() bool
|
||||
@@ -19,10 +20,13 @@ type t_outputs interface {
|
||||
SetB3(val bool)
|
||||
}
|
||||
|
||||
// outputs represents the outputs field (A1 - A5, B1 - B3)
|
||||
// expected to be embedded
|
||||
type outputs struct {
|
||||
iRemote
|
||||
}
|
||||
|
||||
// newOutputs returns an outputs type
|
||||
func newOutputs(id string, i int) outputs {
|
||||
o := outputs{iRemote{id, i}}
|
||||
return o
|
||||
|
||||
Reference in New Issue
Block a user