reformat to make it more universal

This commit is contained in:
lyx0 2021-10-17 17:40:53 +02:00
parent 4c79f6527a
commit f5aca689c0

View file

@ -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)