From 243d0b28e19a6b5b2c1bb20905c7168d53f056bd Mon Sep 17 00:00:00 2001 From: Thomas Stringer Date: Wed, 30 Sep 2020 20:51:41 -0400 Subject: [PATCH] fix example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b3f5ea1..f786961 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ func main() { fmt.Printf("Now is %s\n", now.Format(timeFormat)) - adjustedTime, err := systemdtime.AdjustTime(&now, "2d") + adjustedTime, err := systemdtime.AdjustTime(now, "2d") if err != nil { fmt.Printf("error adjusting time: %v\n", err) os.Exit(1)