diff --git a/README.md b/README.md index fa9f44d..f833a81 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,9 @@ func main() { yes, _ := client.IsHoliday(date) fmt.Println(yes) //=> true + yes, _ = client.IsTodayHoliday() + fmt.Println(yes) + h, _ = client.Next(date) fmt.Println(h) //=> 2023-07-17 海の日 diff --git a/example/main.go b/_example/main.go similarity index 93% rename from example/main.go rename to _example/main.go index ce05e47..85fa127 100644 --- a/example/main.go +++ b/_example/main.go @@ -24,6 +24,9 @@ func main() { yes, _ := client.IsHoliday(date) fmt.Println(yes) //=> true + yes, _ = client.IsTodayHoliday() + fmt.Println(yes) + h, _ = client.Next(date) fmt.Println(h) //=> 2023-07-17 海の日