From bbdb193d65f5bace4652d73b345e504f9eea081a Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Sun, 15 Dec 2024 22:50:32 -0600 Subject: [PATCH] split types out --- pkg/osc/osc.go | 10 ---------- pkg/osc/types.go | 11 +++++++++++ 2 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 pkg/osc/types.go diff --git a/pkg/osc/osc.go b/pkg/osc/osc.go index 3475554..5a88063 100644 --- a/pkg/osc/osc.go +++ b/pkg/osc/osc.go @@ -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 diff --git a/pkg/osc/types.go b/pkg/osc/types.go new file mode 100644 index 0000000..9a80952 --- /dev/null +++ b/pkg/osc/types.go @@ -0,0 +1,11 @@ +package osc + +type OSCArg struct { + Type string + Value any +} + +type OSCMessage struct { + Address string + Args []OSCArg +}