From 1fdc59d7c751dd823b2ed5bb57ef5efbf4dd7095 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Mon, 5 Jan 2026 20:33:27 +0000 Subject: [PATCH] Remove ResponseLocation We're going to use the H3 index directly. --- api/types.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/api/types.go b/api/types.go index ccb9a2cf..154c061f 100644 --- a/api/types.go +++ b/api/types.go @@ -137,22 +137,6 @@ func (e *ResponseErr) Render(w http.ResponseWriter, r *http.Request) error { return nil } -type ResponseLocation struct { - Latitude float64 `json:"latitude"` - Longitude float64 `json:"longitude"` -} - -func (rtd ResponseLocation) Render(w http.ResponseWriter, r *http.Request) error { - return nil -} - -func NewResponseLocation(l LatLong) ResponseLocation { - return ResponseLocation{ - Latitude: l.Latitude(), - Longitude: l.Longitude(), - } -} - type ResponseMosquitoInspection struct { ActionTaken string `json:"action_taken"` Comments string `json:"comments"`