summaryrefslogtreecommitdiff
path: root/internal/easyhttp
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-08-12 10:17:51 +0300
committerPaul Buetow <paul@buetow.org>2024-08-12 10:17:51 +0300
commit22df44d2e4a6ab928d916da9c1e26aa5d32bbb2d (patch)
tree1673d05d569a2b18b32e33d964ec7e73f0fc29cd /internal/easyhttp
parent85a4cdea7c41cfd2f4fcbe1554494fb0b78ae338 (diff)
initiate merge operation by cron ticker
Diffstat (limited to 'internal/easyhttp')
-rw-r--r--internal/easyhttp/easyhttp.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/easyhttp/easyhttp.go b/internal/easyhttp/easyhttp.go
index 2968454..3f4b367 100644
--- a/internal/easyhttp/easyhttp.go
+++ b/internal/easyhttp/easyhttp.go
@@ -40,6 +40,7 @@ func Get(ctx context.Context, uri, apiKey string) ([]byte, error) {
// Get data from JSON
func GetData[T any](ctx context.Context, uri, apiKey string, data *T) error {
+ log.Println("Getting data from ", uri)
bytes, err := Get(ctx, uri, apiKey)
if err != nil {
return err