Add common go types

This commit is contained in:
Olli 2026-02-26 10:38:28 +01:00
commit af4fc2fb64
4 changed files with 414 additions and 0 deletions

View file

@ -0,0 +1,14 @@
package common
type OutputDevice struct {
ID string
Name string
Enabled bool
}
func NewOutputDevice(id string, name string) *OutputDevice {
return &OutputDevice{
ID: id,
Name: name,
}
}