Versions in this module Expand all Collapse all v1 v1.0.3 Feb 27, 2022 v1.0.2 Feb 27, 2022 Changes in this version + type Alias struct + Notebook Notebook + Section Section + Short string + type AliasName string + type Api struct + func NewApi(r rest.Requester, msftgraphApiUrl string) Api + func (a *Api) GetContent(token oauthv2.OAuthToken, notepage NotePage) ([]byte, HttpStatusCode, error) + func (a *Api) GetNotebooks(token oauthv2.OAuthToken) ([]Notebook, HttpStatusCode, error) + func (a *Api) GetPages(token oauthv2.OAuthToken, section Section) ([]NotePage, HttpStatusCode, error) + func (a *Api) GetSection(token oauthv2.OAuthToken, id string) (Section, HttpStatusCode, error) + func (a *Api) GetSections(token oauthv2.OAuthToken, n Notebook) ([]Section, HttpStatusCode, error) + func (a *Api) SaveNote(t oauthv2.OAuthToken, n NotePage) (string, HttpStatusCode, error) + func (a *Api) SearchPage(token oauthv2.OAuthToken, q string) ([]NotePage, HttpStatusCode, error) + type HttpStatusCode = rest.HttpStatusCode + type NotePage struct + Content string + ContentUrl string + LastModifiedDateTime time.Time + Links struct{ ... } + ParentSection Section + Section Section + Title string + func NewNotePage(s Section, t string, c string) *NotePage + type Notebook struct + DisplayName string + ID string + SectionsUrl string + type NotebookName string + type Section struct + ID string + Name string + Notebook *Notebook + type SectionName string