Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.79 KB

README.ja.md

File metadata and controls

41 lines (30 loc) · 1.79 KB

flagday

Test Coverage Status Go Report Card Godoc license

概要

flagday は日本の祝日を扱うライブラリです。

特徴

  • 国民の休日に関する法律に準じています。
  • 1948年7月20日以降の祝日に対応しています。
  • データファイルを使用していないので、下記の条件を除けば基本的には更新無しで使用できます。
    • 法律の改正による祝日の増減および移動
    • 遠い未来(2100年以降)の春分・秋分の日
    • 地殻変動などによる春分・秋分の日のずれ
    • 皇室関連の慶弔時による当年限りの休日

Install

$ go get github.com/pinzolo/flagday

Contribution

  1. Fork (https://github.com/pinzolo/flagday/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

pinzolo