Skip to content

Commit

Permalink
fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
indigofeather committed Feb 6, 2017
1 parent 966868d commit 9c7046d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,28 @@ You can download the ephemeris files to specifically directory (default same as
package main

import (
"fmt"
"log"
"fmt"
"log"

"github.com/DestinyLab/go-swetest"
"github.com/DestinyLab/go-swetest"
)

func main() {
opt := []string{
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)
"-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)
}
```

Expand Down

0 comments on commit 9c7046d

Please sign in to comment.