Skip to content

Commit

Permalink
Add attributes to Page struct
Browse files Browse the repository at this point in the history
  • Loading branch information
kondoumh committed May 31, 2020
1 parent 81dd642 commit 4db67a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/types/page.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 4db67a8

Please sign in to comment.