Documentation
¶
Index ¶
Constants ¶
View Source
const MaxStringLen = 131070
Always a good idea to have a upper limit
Variables ¶
View Source
var ( Basic = "basic" URL = "url" NoteTypes = []string{ Basic, URL, } )
Note types
Functions ¶
This section is empty.
Types ¶
type Note ¶
type Note struct {
ID int64
Created time.Time
Modified time.Time
Type string
Title string
Body string
Book *Book
Tags []*Tag
}
Note is our main struct for storing notes and their meta data.
func (*Note) GetTagIDsArray ¶ added in v0.5.0
func (*Note) GetTagStringArray ¶
GetTagStringArray returns a list of the note's tag names
func (*Note) MarshalJSON ¶
MarshalJSON customer json Marshaler
Click to show internal directories.
Click to hide internal directories.