Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessConversionAndSaveToFile ¶ added in v0.0.7
Types ¶
type Content ¶
type Content struct { Text string `json:"text"` Title string `json:"title"` NoteType NoteType `json:"noteType"` EditorIdentifier string `json:"editorIdentifier"` References []Reference `json:"references"` // only tags have references to their notes and to their parents AppData AppData `json:"appData"` PreviewPlain string `json:"preview_plain"` Spellcheck bool `json:"spellcheck"` }
type ContentType ¶
type ContentType string
const ( ContentTypeNote ContentType = "Note" ContentTypeTag ContentType = "Tag" )
type Item ¶
type Item struct { ContentType ContentType `json:"content_type"` Content Content `json:"content"` CreatedAtTimestamp int64 `json:"created_at_timestamp"` CreatedAt string `json:"created_at"` Deleted bool `json:"deleted"` UpdatedAtTimestamp int64 `json:"updated_at_timestamp"` UpdatedAt string `json:"updated_at"` UUID uuid.UUID `json:"uuid"` }
type Reference ¶
type Reference struct { UUID uuid.UUID `json:"uuid"` ContentType ContentType `json:"content_type"` ReferenceType *ReferenceType `json:"reference_type"` }
type ReferenceType ¶
type ReferenceType string
const ReferenceTypeTagToParentTag ReferenceType = "TagToParentTag"
type StandardNotes ¶
func ConvertNotebooksToTags ¶
func ConvertNotebooksToTags() StandardNotes
Click to show internal directories.
Click to hide internal directories.