Commit graph

6 commits

Author SHA1 Message Date
Winni Neessen a4f19380ff
Handle error in GetGeoLocationByName
Return error when fetching GeoLocations fails or the result is empty. This ensures that an error is properly returned and handled when either an error occurs during the API call or no locations are found for the given city name.
2023-06-27 17:15:07 +02:00
Winni Neessen dec578e751
Added CODE_OF_CONDUCT.md, CONTRIBUTING.md and updated mail address in CopyrightText 2023-05-21 11:46:23 +02:00
Winni Neessen 5d278c9fd8
Renamed GeoLocation lookup methods since we don't only search by city name but rather by any kind of name 2023-05-15 16:30:23 +02:00
Winni Neessen 50ad3747fc
Renamed some struct fields and added more test coverage 2023-05-13 13:18:47 +02:00
Winni Neessen d85d632eb0
Fix REUSE 2023-05-12 19:19:44 +02:00
Winni Neessen 863b576798
Renamed Geolocation methods and added tests 2023-05-12 13:11:14 +02:00
Renamed from location.go (Browse further)