goholiday
Calculating (holiday, business) days support for golang (Go language).
Provide functions to calculate and judge the business days and holidays in each country.
Currently, we only handle holidays for a few countries, but we plan to handle holidays for other countries in the future.
Please Contribute!
Install
$ go install github.com/yut-kt/goholiday
Suggested golang environment
go version >= 1.16.15
Usage
-
version >= v1.0.0
- look at example test file or godoc example
-
version = v0.x.x (deprecated)
- look at docs/v0.md
Supported ccTLD
support 2022, 2023
|- am (Armenia)
|- do (Dominican Republic)
|- gr (Greece)
|- jp (Japan)
|- sg (Singapore)
|- uk (United Kingdom)
|- England
|- NorthernIreland
|- Scotland
|- Wales
Contribution
License
goholiday is released under the MIT License.