Documentation
¶
Overview ¶
Package swetest is the simple wrapper of swisseph library's swetest.
Swetest:
test page: http://www.astro.com/swisseph/swetest.htm Help: http://www.astro.com/cgi/swetest.cgi?arg=-h&p=0 ephemeris files: ftp://ftp.astro.com/pub/swisseph/ephe/
Example:
package main
import (
"fmt"
"log"
"github.com/DestinyLab/go-swetest"
)
func main() {
opt := []string{
"-edir./resources/",
"-b11.11.2017",
"-ut00:00:00",
"-p0",
"-fZ",
"-eswe",
"-head",
}
s := swetest.New()
res, err := s.Query(opt)
if err != nil {
log.Fatal(err)
}
fmt.Printf("%s", res)
}
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.