diff options
| author | mihna123 <mihailonvojinovic@gmail.com> | 2026-08-23 14:43:13 +0200 |
|---|---|---|
| committer | mihna123 <mihailonvojinovic@gmail.com> | 2026-08-23 14:43:13 +0200 |
| commit | cfaecd4cb276722ffe0efb23d2cf5b6a250728c2 (patch) | |
| tree | abeb418da57e4190daaa3117a4635ae8abf11503 /internal/listing | |
| parent | dadc6de754c699ebd3c08f797f2e7db2afb28e6c (diff) | |
| download | openstore-cfaecd4cb276722ffe0efb23d2cf5b6a250728c2.tar.gz openstore-cfaecd4cb276722ffe0efb23d2cf5b6a250728c2.zip | |
listing: change the text propery name to description
Naming it text is just not "descriptive" enough
Diffstat (limited to 'internal/listing')
| -rw-r--r-- | internal/listing/listing.go | 24 |
1 files 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 } |
