Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExportData ¶
type ExportData struct { Version float64 `json:"version"` Type string `json:"type"` Date int64 `json:"date"` Data string `json:"data"` Hash string `json:"hash"` HashType string `json:"hash_type"` Compressed bool `json:"compressed"` Encrypted bool `json:"encrypted"` FileName string DebugFileName string }
func ValidateBackupFiles ¶
func ValidateBackupFiles(zf *zip.ReadCloser) ([]ExportData, error)
type Nook ¶
type Nook struct { ID string `json:"id"` Type Type `json:"type"` Title string `json:"title,omitempty"` Pinned bool `json:"pinned,omitempty"` Topics []Topic `json:"topics,omitempty"` DateCreated int64 `json:"dateCreated"` DateModified int64 `json:"dateModified"` DateEdited int64 `json:"dateEdited,omitempty"` Synced bool `json:"synced"` Description string `json:"description,omitempty"` ContentID string `json:"contentId,omitempty"` Headline string `json:"headline,omitempty"` Tags []string `json:"tags,omitempty"` Locked bool `json:"locked,omitempty"` Favorite bool `json:"favorite,omitempty"` LocalOnly bool `json:"localOnly,omitempty"` Readonly bool `json:"readonly,omitempty"` NoteID string `json:"noteId,omitempty"` Data interface{} `json:"data,omitempty"` NoteIDs []string `json:"noteIds,omitempty"` From From `json:"from,omitempty"` To To `json:"to,omitempty"` Notebooks []Notebook `json:"notebooks,omitempty"` Metadata Metadata `json:"metadata,omitempty"` }
func ProcessNotesnookExportData ¶
func ProcessNotesnookExportData(file ExportData) ([]Nook, error)
type NotebookInfo ¶ added in v0.0.7
Click to show internal directories.
Click to hide internal directories.