diff --git a/go.mod b/go.mod index 96c7bb1..298ac06 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/studiolambda/yotei -go 1.22 +go 1.22.0 diff --git a/task.go b/task.go index 5f7576f..3c4ed27 100644 --- a/task.go +++ b/task.go @@ -34,9 +34,8 @@ type Task struct { // A list of actionable tasks type Tasks []*Task -var ( - DurationUnlimited time.Duration = 0 -) +// Determines that the task can take unlimited duration. +var DurationUnlimited time.Duration = 0 // NewTask creates a new task with the given handler. //