Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Note ¶
type Note struct {
Key string `json:"-"`
Tag string `json:"tag,omitempty"`
Content string `json:"content"`
CreatedAt time.Time `json:"createdAt,omitempty"`
LastUpdate time.Time `json:"lastUpdate"`
Version int `json:"version"`
TimeSpent time.Duration `json:"timeSpent"`
// The number of get operations performed on a note.
Picks uint64 `json:"picks"`
}
func (*Note) ReadableSize ¶
Click to show internal directories.
Click to hide internal directories.