From 27d5c1fba1a923a6ac36c30738d0c163e352eb73 Mon Sep 17 00:00:00 2001 From: winebarrel Date: Sat, 17 Jun 2023 18:52:08 +0900 Subject: [PATCH] Fix etc.. --- README.md | 3 +++ {example => _example}/main.go | 3 +++ 2 files changed, 6 insertions(+) rename {example => _example}/main.go (93%) 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 海の日