Skip to content

Commit

Permalink
Merge pull request #17 from winebarrel/fix_etc
Browse files Browse the repository at this point in the history
Fix etc..
  • Loading branch information
winebarrel committed Jun 17, 2023
2 parents 96060b6 + 27d5c1f commit 9185b97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 海の日

Expand Down
3 changes: 3 additions & 0 deletions example/main.go → _example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 海の日

Expand Down

0 comments on commit 9185b97

Please sign in to comment.