From cfaecd4cb276722ffe0efb23d2cf5b6a250728c2 Mon Sep 17 00:00:00 2001 From: mihna123 Date: Sun, 23 Aug 2026 14:43:13 +0200 Subject: listing: change the text propery name to description Naming it text is just not "descriptive" enough --- internal/listing/listing.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/internal/listing/listing.go b/internal/listing/listing.go index 1bc411e..cabd6bb 100644 --- a/internal/listing/listing.go +++ b/internal/listing/listing.go @@ -31,16 +31,16 @@ func (s status) String() string { } type Listing struct { - id int - title string - text string - images []string - price float64 - currency string - category []string - location location - status status - views int - createdAt time.Time - author *user.User + id int + title string + description string + images []string + price float64 + currency string + category []string + location location + status status + views int + createdAt time.Time + author *user.User } -- cgit v1.3.1