Commit Graph

10 Commits

Author SHA1 Message Date
argoyle b3e9b723a4 fix: correct destination initialization and response handling
This commit makes corrections to the initialization of the dests array to 
ensure it properly allocates space for each destination. It also fixes the 
response handling by correctly extending the response structure after 
the loop, improving overall stability and accuracy of the distance 
matrix request handling.
2025-02-16 16:23:41 +01:00
argoyle 53c89cb7e4 refactor: update dependencies and improve distance matrix handling
Updates Go module dependencies to the latest compatible versions, 
including the integration of Cloud Maps routing API. Refactors the 
distance matrix handling to utilize the new routing client, 
ensuring proper request formation and error handling for lat/lng 
parsing. This enhances functionality and maintains compatibility 
with updated libraries.
2025-02-15 19:59:36 +01:00
argoyle 5dedddafe2 fix: return empty response if no destinations are provided 2022-08-27 11:10:28 +02:00
argoyle d9381aa7e4 fix: handle no results 2020-01-17 14:53:15 +01:00
argoyle 141db083a8 Add endpoint for fetching address from coordinates 2019-03-02 11:43:58 +01:00
argoyle 4ccc2fc98e Add distance matrix 2019-02-26 14:54:16 +01:00
argoyle c8082554ec Switch to http-protocol 2019-02-12 17:01:02 +01:00
argoyle 3d4d212e08 Only try to send a result back if at least one result came back 2019-02-11 19:53:44 +01:00
argoyle 3a7f85ead7 Correct spelling of municipality 2019-02-11 19:48:47 +01:00
argoyle eebefb0ef4 Initial commit 2019-02-10 20:35:19 +01:00