update Go version to 1.23.4 and add logging for data fetching

This commit is contained in:
pigwin
2025-01-04 16:01:17 +00:00
parent fb4862c078
commit ccbf9c8d72
2 changed files with 2 additions and 1 deletions

View File

@@ -130,6 +130,7 @@ func FetchData(timestamp string) (*Data, error) {
requestorId := "ti1-" + timestamp
url := "https://api.entur.io/realtime/v1/rest/et?useOriginalId=true&maxSize=100000&requestorId=" + requestorId
log.Println("Fetching data from URL:", url)
resp, err := client.Get(url)
if err != nil {
return nil, err