Skip to content

🌘 package moonphase for calculating the phase of Moon

License

Notifications You must be signed in to change notification settings

dyindude/moonphase

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moonphase

MIT licensed

Package moonphase allows calculation of the phase of Moon and other related data. It's an implementation of php-moon-phase in go.

Installation

To install the package on your system, run

go get github.com/dyindude/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.

github.com/dyindude - Andrew Missel

Acknowledgments

This package's code and documentation are very closely derived from the php-moon-phase PHP class for calculating the phase of the Moon created by Samir Shah.

About

🌘 package moonphase for calculating the phase of Moon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%