add deltaT func to astro.go
This commit is contained in:
@@ -1,2 +1,16 @@
|
||||
// Package astro
|
||||
package astro
|
||||
|
||||
import "b612.me/astro/basic"
|
||||
|
||||
func DeltaT() func(float64, bool) float64 {
|
||||
return basic.GetDeltaTFn()
|
||||
}
|
||||
|
||||
func SetDeltaT(deltaT func(float64, bool) float64) {
|
||||
basic.SetDeltaTFn(deltaT)
|
||||
}
|
||||
|
||||
func DefaultDeltaT() func(float64, bool) float64 {
|
||||
return basic.DefaultDeltaTv2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user