diff --git a/pkg/api/aiden/weather.go b/pkg/api/aiden/aiden.go similarity index 92% rename from pkg/api/aiden/weather.go rename to pkg/api/aiden/aiden.go index 2b2b3ff..866cc04 100644 --- a/pkg/api/aiden/weather.go +++ b/pkg/api/aiden/aiden.go @@ -8,7 +8,7 @@ import ( log "github.com/sirupsen/logrus" ) -func Weather(uri string) string { +func ApiCall(uri string) string { resp, err := http.Get(fmt.Sprintf("https://customapi.aidenwallis.co.uk/%s", uri)) if err != nil { log.Error(err)