From ad5090bdf285566ada7c408e8e17ac21781c6b26 Mon Sep 17 00:00:00 2001 From: "aditya.siregar" Date: Mon, 5 Aug 2024 23:05:37 +0700 Subject: [PATCH] Update DIstance --- internal/entity/sites.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/entity/sites.go b/internal/entity/sites.go index e5be63f..cc8edb3 100644 --- a/internal/entity/sites.go +++ b/internal/entity/sites.go @@ -29,7 +29,7 @@ type Site struct { Longitude *float64 `json:"longitude"` Region string `json:"region"` Regency string `json:"regency"` - Distance float64 `json:"distance"` + Distance float64 `gorm:"-"` } type SiteSearch struct {