summaryrefslogtreecommitdiff
path: root/flat.go
diff options
context:
space:
mode:
Diffstat (limited to 'flat.go')
-rw-r--r--flat.go4
1 files changed, 2 insertions, 2 deletions
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 {