From 50900c5e18bd5aa1a2329ca3d53ca3713ec5d137 Mon Sep 17 00:00:00 2001 From: Andinus Date: Thu, 19 Mar 2020 00:13:54 +0530 Subject: Remove package cetus Moved req.go to request package & version to main.go --- pkg/apod/json.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/apod') diff --git a/pkg/apod/json.go b/pkg/apod/json.go index 4589925..d484209 100644 --- a/pkg/apod/json.go +++ b/pkg/apod/json.go @@ -5,7 +5,7 @@ import ( "fmt" "regexp" - "framagit.org/andinus/cetus/pkg/cetus" + "framagit.org/andinus/cetus/pkg/request" ) // Res holds the response from the api. @@ -43,6 +43,6 @@ func GetJson(reqInfo map[string]string) (string, error) { params["api_key"] = reqInfo["apiKey"] params["date"] = reqInfo["date"] - body, err := cetus.GetRes(reqInfo["api"], params) + body, err := request.GetRes(reqInfo["api"], params) return string(body), err } -- cgit 1.4.1-2-gfad0