Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CcccFz authored Jul 15, 2021
1 parent 682aee9 commit 67e1381
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# crawl_holiday_workday
爬取法定节假日、法定工作日(补假日),转换为golang代码。
爬取法定节假日、法定工作日(补假日),转换为golang代码。可准确判断某天是节假日,还是工作日。

可准确判断某天是节假日,还是工作日
## Usage:
运行python脚本,生成golang代码后:
```golang
util.IsHoliday(time.Now())
util.IsWorkday(time.Now())
```

0 comments on commit 67e1381

Please sign in to comment.