Skip to content

Commit

Permalink
chore: add AddTag comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore authored Mar 12, 2024
1 parent f720d7e commit a3c4721
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gronx.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ var expressions = map[string]string{
"@everysecond": "* * * * * *",
}

// AddTag adds a new custom tag representing given expr
func AddTag(tag, expr string) error {
_, ok := expressions[tag]
if ok {
Expand Down

0 comments on commit a3c4721

Please sign in to comment.