Added moon route and changed Date fields from pointers to values
This commit is contained in:
9
types/moon.go
Normal file
9
types/moon.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package types
|
||||
|
||||
// The Moon data type, representing the moon phase,
|
||||
// the moon phase icon and the moon progress(%).
|
||||
type Moon struct {
|
||||
Icon string `json:"icon"`
|
||||
Phase string `json:"phase"`
|
||||
Percentage string `json:"percentage"`
|
||||
}
|
||||
Reference in New Issue
Block a user