add osc int64 type

This commit is contained in:
2024-10-21 14:28:48 -05:00
parent 95a076717f
commit e8f0fb7d14
+7
View File
@@ -64,6 +64,13 @@ func argToTypedArg(rawArg string, oscType string) any {
panic(err)
}
return data
case "h":
number, err := strconv.ParseInt(rawArg, 10, 64)
if err != nil {
// ... handle error
panic(err)
}
return int64(number)
default:
fmt.Print("unhandled osc type: ")
fmt.Printf("%s.\n", oscType)