Skip to content

Commit

Permalink
fix(core): update go.mod and small qol
Browse files Browse the repository at this point in the history
  • Loading branch information
ConsoleTVs committed Jul 31, 2024
1 parent 5c8dc8a commit ba4aa89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/studiolambda/yotei

go 1.22
go 1.22.0
5 changes: 2 additions & 3 deletions task.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down

0 comments on commit ba4aa89

Please sign in to comment.