package
module
Version:
v0.0.0-...-30fb565
Opens a new window with list of versions in this module.
Published: Jan 10, 2019
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
go-holidayjp
go-holidayjp
is a Go package for detecting holiday in Japan. This is Go port of komagata/holiday_jp.
The documentation is on GoDoc.
Install
Use go get
to install this package:
$ go get github.com/tcnksm/go-holidayjp
Contribution
- Fork (https://github.com/tcnksm/go-holidayjp/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes
- Run
gofmt -s
- Create new Pull Request
Author
Taichi Nakashima
Documentation
¶
go-holidayjp is a package for detecting holiday in Japan.
Holiday returns Holiday name of the given time.
If it's not holiday, returns error(ErrNotHoliday).
IsHoliday reports whether the time is holiday.
Source Files
¶
Directories
¶
Code generated by go-bindata.
|
Code generated by go-bindata. |
cmd
|
|
|
|
Click to show internal directories.
Click to hide internal directories.