mirror of
https://github.com/jwetzell/osc-go.git
synced 2026-08-12 02:23:38 +00:00
cleanup printing
This commit is contained in:
@@ -130,8 +130,7 @@ func argToTypedArg(rawArg string, oscType string) osc.OSCArg {
|
||||
Type: "N",
|
||||
}
|
||||
default:
|
||||
fmt.Print("unhandled osc type: ")
|
||||
fmt.Printf("%s.\n", oscType)
|
||||
fmt.Printf("unsupported OSC arg type: %s\n", oscType)
|
||||
// TODO(jwetzell): something better than this like actual nil, err thing
|
||||
return osc.OSCArg{}
|
||||
}
|
||||
|
||||
@@ -161,8 +161,7 @@ func argToTypedArg(rawArg string, oscType string) osc.OSCArg {
|
||||
Type: "N",
|
||||
}
|
||||
default:
|
||||
fmt.Print("unhandled osc type: ")
|
||||
fmt.Printf("%s.\n", oscType)
|
||||
fmt.Printf("unsupported OSC arg type: %s\n", oscType)
|
||||
// TODO(jwetzell): something better than this like actual nil, err thing
|
||||
return osc.OSCArg{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user