diff options
author | Emile <hanemile@protonmail.com> | 2019-09-11 20:27:23 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-09-11 20:27:23 +0200 |
commit | f54918bb664f12c3b237dd53a2fdac7a2c61356a (patch) | |
tree | c20b06be7f81fb0d92a9f8b66f75ec143fb89fa0 | |
parent | 6c1531aec392d0d4d80d2373e69114d3dbb090b0 (diff) |
updated the modules
-rw-r--r-- | go.mod | 8 | ||||
-rw-r--r-- | go.sum | 4 | ||||
-rw-r--r-- | http.go | 4 |
3 files changed, 2 insertions, 14 deletions
diff --git a/go.mod b/go.mod deleted file mode 100644 index 73f7e7e..0000000 --- a/go.mod +++ /dev/null @@ -1,8 +0,0 @@ -module git.darknebu.la/Satellite/TLE2JSON - -go 1.12 - -require ( - git.darknebu.la/Satellite/TLE v0.0.0-20190829210835-ce5042e51ea2 - github.com/gorilla/mux v1.7.3 -) diff --git a/go.sum b/go.sum deleted file mode 100644 index e4cc836..0000000 --- a/go.sum +++ /dev/null @@ -1,4 +0,0 @@ -git.darknebu.la/Satellite/TLE v0.0.0-20190829210835-ce5042e51ea2 h1:vNbVQb+qEzatcMlSD7nXnE5UepVHsjM2cbg3wik3/9g= -git.darknebu.la/Satellite/TLE v0.0.0-20190829210835-ce5042e51ea2/go.mod h1:nm5ECKwvODjivHre4SKW/WydMHAxXCC+EG1ckQHHhqs= -github.com/gorilla/mux v1.7.3 h1:gnP5JzjVOuiZD07fKKToCAOjS0yOpj/qPETTXCCS6hw= -github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= diff --git a/http.go b/http.go index ca3c413..7d551ae 100644 --- a/http.go +++ b/http.go @@ -8,7 +8,7 @@ import ( "net/http" "strings" - TLE "git.darknebu.la/Satellite/TLE" + tle "git.darknebu.la/Satellite/tle" "github.com/gorilla/mux" ) @@ -60,7 +60,7 @@ func getHandler(w http.ResponseWriter, r *http.Request) { 1 25544U 98067A 19229.39083552 .00000228 00000-0 11917-4 0 9993 2 25544 51.6447 57.6210 0007373 294.0868 138.8050 15.50381554184754` - JSONTLE, err := TLE.NewTLE(RawTLE) + JSONTLE, err := tle.NewTLE(RawTLE) if err != nil { fmt.Println(err) } |