Skip to content

Commit

Permalink
feat(job): gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
trungdlp-wolffun committed Jun 19, 2024
1 parent 7e39efe commit f15d519
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion examples/elector/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ func main() {
log.Println("run job")
}),
)

if err != nil {
log.Println(err)
return
Expand Down
2 changes: 1 addition & 1 deletion job_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ func TestJob_NextRuns(t *testing.T) {
}

func TestJob_PanicOccurred(t *testing.T) {
var gotCh = make(chan any)
gotCh := make(chan any)
s := newTestScheduler(t)
_, err := s.NewJob(
DurationJob(10*time.Millisecond),
Expand Down

0 comments on commit f15d519

Please sign in to comment.