From 27ecfdd4de0ef07e042c7ecb2b010521e37db8c1 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Thu, 10 Sep 2026 11:53:36 -0500 Subject: [PATCH] add timetag arg constructor --- arg.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arg.go b/arg.go index c19b709..184438b 100644 --- a/arg.go +++ b/arg.go @@ -39,3 +39,7 @@ func Int64Arg(value int64) Arg { func DoubleArg(value float64) Arg { return Arg{Type: "d", Value: value} } + +func TimeTagArg(seconds, fractional int32) Arg { + return Arg{Type: "t", Value: TimeTag{seconds: seconds, fractionalSeconds: fractional}} +}