https://github.com/liamg/moon
:new_moon_with_face: :waxing_crescent_moon: :first_quarter_moon: :waxing_gibbous_moon: :full_moon_with_face: :waning_gibbous_moon: :last_quarter_moon: :waning_crescent_moon: :new_moon_with_face:
https://github.com/liamg/moon
moon moon-phase waste-of-time
Last synced: 3 months ago
JSON representation
:new_moon_with_face: :waxing_crescent_moon: :first_quarter_moon: :waxing_gibbous_moon: :full_moon_with_face: :waning_gibbous_moon: :last_quarter_moon: :waning_crescent_moon: :new_moon_with_face:
- Host: GitHub
- URL: https://github.com/liamg/moon
- Owner: liamg
- License: unlicense
- Created: 2019-10-01T20:46:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T22:21:15.000Z (12 months ago)
- Last Synced: 2025-07-03T11:14:59.152Z (3 months ago)
- Topics: moon, moon-phase, waste-of-time
- Language: Go
- Homepage: https://godoc.org/github.com/liamg/moon
- Size: 121 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# moon
[]()
Need to warn against deploys on a full moon?
Client needs a report generating every [waxing gibbous](https://en.wikipedia.org/wiki/Waxing_gibbous)?
No problem! This is a module in pure Go for calculating moon phase.
## Usage
```go
package mainimport (
"fmt""github.com/liamg/moon"
)func main() {
phase := moon.GetPhase()
fmt.Printf("The moon phase is currently %s - %s\n", phase, phase.Emoji())
// Output example: The moon phase is currently Waxing Crescent - 🌒
}
```---