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