summary refs log tree commit diff stats
path: root/pkg/bpod
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-03-19 00:13:54 +0530
committerAndinus <andinus@nand.sh>2020-03-19 00:13:54 +0530
commit50900c5e18bd5aa1a2329ca3d53ca3713ec5d137 (patch)
treec009a73adf2225b56b654f8ea20ceb9fc6d836e0 /pkg/bpod
parente96878ff2d111c91feaf4308240902795b911253 (diff)
downloadcetus-50900c5e18bd5aa1a2329ca3d53ca3713ec5d137.tar.gz
Remove package cetus
Moved req.go to request package & version to main.go
Diffstat (limited to 'pkg/bpod')
-rw-r--r--pkg/bpod/json.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bpod/json.go b/pkg/bpod/json.go
index 4d74668..d895bcf 100644
--- a/pkg/bpod/json.go
+++ b/pkg/bpod/json.go
@@ -5,7 +5,7 @@ import (
 	"fmt"
 	"math/rand"
 
-	"framagit.org/andinus/cetus/pkg/cetus"
+	"framagit.org/andinus/cetus/pkg/request"
 )
 
 type Res struct {
@@ -50,6 +50,6 @@ func GetJson(reqInfo map[string]string) (string, error) {
 
 	}
 
-	body, err := cetus.GetRes(reqInfo["api"], params)
+	body, err := request.GetRes(reqInfo["api"], params)
 	return string(body), err
 }