mirror of
https://github.com/jwetzell/osc-go.git
synced 2026-08-09 17:13:38 +00:00
split types out
This commit is contained in:
@@ -10,16 +10,6 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
type OSCArg struct {
|
||||
Type string
|
||||
Value any
|
||||
}
|
||||
|
||||
type OSCMessage struct {
|
||||
Address string
|
||||
Args []OSCArg
|
||||
}
|
||||
|
||||
func stringToOSCBytes(rawString string) []byte {
|
||||
var sb strings.Builder
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
package osc
|
||||
|
||||
type OSCArg struct {
|
||||
Type string
|
||||
Value any
|
||||
}
|
||||
|
||||
type OSCMessage struct {
|
||||
Address string
|
||||
Args []OSCArg
|
||||
}
|
||||
Reference in New Issue
Block a user