Documentation
¶
Overview ¶
Package astro is used for carrying out astronomical calculations
Package astro contains functions for calculating astronomical times and positions
Index ¶
Constants ¶
View Source
const (
// J2000Epoch is January 1, 2000, 12:00 TT
J2000Epoch julianTime = 2451545.0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Location ¶
type Location struct {
Latitude float64 `json:"latitude" validate:"min=-90,max=90"`
Longitude float64 `json:"longitude" validate:"min=-180,max=180"`
Altitude Altitude `json:"altitude" validate:"min=0"`
}
Location is the three-dimensional position of an object above the globe. Latitude and Longitude values are in degrees.
Click to show internal directories.
Click to hide internal directories.