3

So I want to get Eid Al-Fitr (first three days of the month of the tenth month) and Eid Al-Adha(10-to-13th days of final month) in order to calculate the working days in countries e.g Turkey etc. And as Islamic calendar is a lunar one, it varies in every single Gregorian year. I'd prefer finding them with a piece of Go code rather than persisting their Gregorian equivalents for each year into a database.

How to do that with Go? It is also ok fetching them through a free api too.HolidayAPI seems to find it but only works for past years' data in free edition.

vahdet
  • 6,357
  • 9
  • 51
  • 106
  • Go wrapper for holiday API https://github.com/joshtronic/go-holidayapi Article about holiday API https://joshtronic.com/2013/12/02/holiday-api-free-ready-fork/ I suggest you pay for the service if you don't want to build it yourself. – reticentroot Sep 10 '17 at 23:40

0 Answers0