From 4db67a83d27b7a6460de529993b694872219b998 Mon Sep 17 00:00:00 2001 From: kondoumh Date: Sun, 31 May 2020 09:52:09 +0900 Subject: [PATCH] Add attributes to Page struct --- pkg/types/page.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/types/page.go b/pkg/types/page.go index 7034348..1c25427 100644 --- a/pkg/types/page.go +++ b/pkg/types/page.go @@ -10,10 +10,14 @@ import ( type Page struct { ID string `json:"id"` Title string `json:"title"` + Created int32 `json:"created"` + Updated int32 `json:"updated"` + Pin int64 `json:"pin"` Views int `json:"views"` Linked int `json:"linked"` Author User `json:"user"` Collaborators []User `json:"collaborators"` + Image string `json:"image"` Related struct { Links []struct { ID string `json:"id"`