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 {