api/v1/server.go: remove unused response values

This commit is contained in:
Tom Neuber 2024-03-02 11:20:42 +01:00
parent ca09e5efc5
commit 41605f743a
Signed by: tom
GPG key ID: F17EFE4272D89FF6

View file

@ -111,12 +111,9 @@ const keyIPInfo key = iota
type ipInfoResponse struct {
*geoloc.IPInfo
Elapsed int64 `json:"elapsed"`
}
func (ir *ipInfoResponse) Render(w http.ResponseWriter, r *http.Request) error {
ir.Elapsed = 10
return nil
}