summary refs log tree commit diff stats
path: root/apod/json.go
diff options
context:
space:
mode:
Diffstat (limited to 'apod/json.go')
-rw-r--r--apod/json.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/apod/json.go b/apod/json.go
index eae5fb2..2e1fcd0 100644
--- a/apod/json.go
+++ b/apod/json.go
@@ -51,10 +51,11 @@ func GetJson(reqInfo map[string]string) (string, error) {
 		return body, err
 	}
 
-	// reqInfo is map[string]string and params is built from it, currently
-	// it takes apiKey and the date from reqInfo to build param. If any
-	// new key/value is added to reqInfo then it must be addded here too,
-	// it won't be sent as param directly.
+	// reqInfo is map[string]string and params is built from it,
+	// currently it takes apiKey and the date from reqInfo to
+	// build param. If any new key/value is added to reqInfo then
+	// it must be addded here too, it won't be sent as param
+	// directly.
 	params := make(map[string]string)
 	params["api_key"] = reqInfo["apiKey"]
 	params["date"] = reqInfo["date"]