Documentation ¶
Index ¶
- func CreateEntry(entry *Entry) string
- func DeleteEntry(id string, entry *Entry)
- func Init()
- func ListAllEntries() <-chan *EntryWithId
- func StoreEntry(id string, entry *Entry)
- func StrLen(s string) int
- func StringIsLessIgnoreCase(a, b string) bool
- func SubStr(s string, pos, length int) string
- func UpdateEntry(id string, entry *Entry)
- type EntriesByDateTime
- type Entry
- type EntryWithId
- type TagInfo
- type TagInfos
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEntry ¶
func DeleteEntry ¶
func ListAllEntries ¶
func ListAllEntries() <-chan *EntryWithId
func StoreEntry ¶
func StringIsLessIgnoreCase ¶
func UpdateEntry ¶
Types ¶
type EntriesByDateTime ¶
type EntriesByDateTime []*EntryWithId
func (EntriesByDateTime) Len ¶
func (a EntriesByDateTime) Len() int
func (EntriesByDateTime) Less ¶
func (a EntriesByDateTime) Less(i, j int) bool
func (EntriesByDateTime) Swap ¶
func (a EntriesByDateTime) Swap(i, j int)
type EntryWithId ¶
type EntryWithId struct { Entry // contains filtered or unexported fields }
func GetAllEntriesWithTag ¶
func GetAllEntriesWithTag(tag string) []*EntryWithId
func NewEntryWithId ¶
func NewEntryWithId(id string, entry *Entry) *EntryWithId
func (*EntryWithId) Content ¶
func (e *EntryWithId) Content() interface{}
func (*EntryWithId) Id ¶
func (e *EntryWithId) Id() string
Click to show internal directories.
Click to hide internal directories.