summary refs log tree commit diff stats
path: root/pkg/wallhaven
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/wallhaven')
-rw-r--r--pkg/wallhaven/wallhaven.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/pkg/wallhaven/wallhaven.go b/pkg/wallhaven/wallhaven.go
deleted file mode 100644
index 25af77c..0000000
--- a/pkg/wallhaven/wallhaven.go
+++ /dev/null
@@ -1,20 +0,0 @@
-package wallhaven
-
-import (
-	"time"
-
-	"framagit.org/andinus/cetus/pkg/cetus"
-)
-
-// GetWhJson returns json response received from the api
-func GetWhJson(reqInfo map[string]string, t time.Duration) (string, error) {
-	params := make(map[string]string)
-	params["apikey"] = reqInfo["apiKey"]
-	if reqInfo["random"] == "true" {
-		params["sorting"] = "random"
-
-	}
-
-	body, err := cetus.GetRes(reqInfo["api"], params, t)
-	return string(body), err
-}
evision' href='/acidbong/suckless/dwm/blame/LICENSE?h=master&id=0f26de991f742d548e024a2dadcbfa3a7db8d4b2'>^
02a8ca9 ^
62a491e ^
a72dc2f ^
1076f2b




016dca4 ^
1076f2b

016dca4 ^

1076f2b
016dca4 ^





1076f2b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31