From f5bf0978d4cc77203482a0350622ef255f6609fb Mon Sep 17 00:00:00 2001 From: Andinus Date: Wed, 25 Mar 2020 00:22:41 +0530 Subject: Refill comment in apod.go --- apod/json.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'apod') 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"] -- cgit 1.4.1-2-gfad0