Skip to content

🌘 Packege MoonPhase for calculate the phase of Moon

License

Notifications You must be signed in to change notification settings

Sagleft/moonphase

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MoonPhase

MIT licensed

Packege MoonPhase allow calculat the phase of Moon, and other related veriables. It's base on php-moon-phase

Installation

To install the package on your seysetm, run

go get github.com/sagleft/moonphase

Quick Start

time := time.Date(2007, 10, 1, 24, 0, 0, 0, time.UTC)
//time := time.Now()
m := moonphase.New(time)

License

MoonPhase is released under the MIT License. It is copyrighted by Ivan Menshykov and the contributors acknowledged below.

Acknowledgments

This package's code and documentation are very closely derived php-moon-phase

PHP class for calculating the phase of the Moon created by Samir Shah.

Go mod created by Sagleft.

About

🌘 Packege MoonPhase for calculate the phase of Moon

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Go 100.0%