Documentation ¶ Index ¶ type Page func (p *Page) Traverse(fn func(page *Page) error) error type PageSet func Load(ctx context.Context, notion *notionapi.Client) (*PageSet, error) type Pages func (pages Pages) Traverse(fn func(page *Page) error) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Page ¶ type Page struct { ID string Title string LastEdited time.Time Children Pages URL string Parent *Page Depth int } func (*Page) Traverse ¶ func (p *Page) Traverse(fn func(page *Page) error) error type PageSet ¶ type PageSet struct { Roots Pages ByID map[string]*Page LastUpdated time.Time } func Load ¶ func Load(ctx context.Context, notion *notionapi.Client) (*PageSet, error) type Pages ¶ type Pages []*Page func (Pages) Traverse ¶ func (pages Pages) Traverse(fn func(page *Page) error) error Source Files ¶ View all Source files build.go fetch.go tree.go Click to show internal directories. Click to hide internal directories.