From bbf5d9d99aa6131dccada8908b770ac10f52be59 Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sat, 15 Mar 2025 20:44:38 +0000 Subject: Annotate `flat` fileds for JSON --- flat.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'flat.go') diff --git a/flat.go b/flat.go index a655856..5f22009 100644 --- a/flat.go +++ b/flat.go @@ -6,8 +6,8 @@ import ( ) type flat struct { - ID int - Price string + ID int `json:"id"` + Price string `json:"price"` } func (f *flat) URL() string { -- cgit v1.2.3-70-g09d2