diff --git a/timer.go b/timer.go index da823a5..6c346b7 100644 --- a/timer.go +++ b/timer.go @@ -212,6 +212,10 @@ func (timer *Timer) HasProject(project string) bool { return false } +func (timer *Timer) SetTag(name, val string) { + timer.AdditionalTags[name] = val +} + func (timer *Timer) HasTag(name string) bool { _, ok := timer.AdditionalTags[name] return ok