Documentation
¶
Index ¶
Constants ¶
View Source
const MaxStringLen = 131070
Always a good idea to have a upper limit
Variables ¶
Note types
Functions ¶
This section is empty.
Types ¶
type Book ¶
Book is a collection of notes
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) GetTagStringArray ¶
GetTagStringArray returns a list of the note's tag names
func (*Note) MarshalJSON ¶
MarshalJSON customer json Marshaler
type Tag ¶
Tag is a term used as meta data for more accurate searching and labeling.
Source Files
¶
- book.go
- note.go
- tag.go
Click to show internal directories.
Click to hide internal directories.