15 lines
212 B
Go
15 lines
212 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
)
|
|
|
|
func main() {
|
|
initialize()
|
|
|
|
_, _, err := nextSunriseSunsetTime(config.CalculateDate)
|
|
if err != nil {
|
|
log.Fatalf("[ERROR] Unable to calculate sunrise/sunset: %v\n", err)
|
|
}
|
|
}
|