support go 1.20+ (#608)

This commit is contained in:
John Roesler
2023-11-09 09:49:21 -06:00
committed by GitHub
parent 584cd8aeca
commit 6f9a8200f4
8 changed files with 53 additions and 44 deletions
+1 -2
View File
@@ -2,7 +2,6 @@ package gocron_test
import (
"fmt"
"log/slog"
"sync"
"time"
@@ -550,7 +549,7 @@ func ExampleWithLocation() {
func ExampleWithLogger() {
_, _ = NewScheduler(
WithLogger(
NewJSONSlogLogger(slog.LevelInfo),
NewLogger(LogLevelDebug),
),
)
}