about summary refs log tree commit diff
path: root/server.go
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-08-30 15:05:55 +0200
committerEmile <hanemile@protonmail.com>2019-08-30 15:05:55 +0200
commit02d2e6545b3caaaca919e0d57c9a0a6538312c2e (patch)
tree96c55a823a232e9712b2faeaac5836f804e639d7 /server.go
parentdb852c81422a01c9ee09ae549aa5701ccd92165a (diff)
renamed JsonTLE
Diffstat (limited to 'server.go')
-rw-r--r--server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.go b/server.go
index 626a542..b1faa8b 100644
--- a/server.go
+++ b/server.go
@@ -115,13 +115,13 @@ 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)
 		}
 
 		// convert the TLE to json
-		b, err := json.MarshalIndent(JsonTLE, "", " ")
+		b, err := json.MarshalIndent(JSONTLE, "", " ")
 		if err != nil {
 			fmt.Println("error: ", err)
 		}