update versions and change to std logger

This commit is contained in:
Seraphim Strub 2023-04-23 00:33:20 +02:00
parent aa20d59a0f
commit df441014ed
17 changed files with 212 additions and 147 deletions

View file

@ -3,8 +3,8 @@ package api
import (
"encoding/json"
"fmt"
"github.com/disgoorg/log"
"io"
"log"
"net/http"
"time"
)
@ -113,7 +113,7 @@ func (e EpicStruct) Load() error {
productSlug = element.OfferMappings[0].PageSlug
}
if productSlug == "" {
log.Errorf("product slug not found for: %v", element.Title)
log.Printf("ERROR: product slug not found for: %v", element.Title)
continue
}