A Go package helps in calculating the sunrise and sunset times for any given location. By providing the date and geographical coordinates (latitude and longitude), the SunriseSunset() method returns the corresponding times as time.Time values. If there is no sunrise or sunset, both values will be time.Time{}.

1m read timeFrom github.com
Post cover image
Table of contents
Usage

Sort: