summaryrefslogtreecommitdiff
path: root/internal/listing
diff options
context:
space:
mode:
Diffstat (limited to 'internal/listing')
-rw-r--r--internal/listing/listing.go24
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
}