Documentation
¶
Index ¶
- func ExtractLinks(content string) []string
- type Note
- type Storage
- func (s *Storage) Delete(filename string) error
- func (s *Storage) Find(query string) (*Note, error)
- func (s *Storage) GetPath(filename string) string
- func (s *Storage) List(tagFilter string) ([]*Note, error)
- func (s *Storage) Load(filename string) (*Note, error)
- func (s *Storage) Save(note *Note) error
- func (s *Storage) SaveAt(note *Note, path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractLinks ¶ added in v0.5.0
ExtractLinks はコンテンツから [[...]] リンクをすべて抽出する
Types ¶
type Note ¶
type Note struct {
ID string `yaml:"-"`
Title string `yaml:"title"`
Created time.Time `yaml:"created"`
Modified time.Time `yaml:"modified"`
Tags []string `yaml:"tags"`
Content string `yaml:"-"`
}
func FindBacklinks ¶ added in v0.5.0
FindBacklinks はtargetTitleを参照しているノートを検索する
Click to show internal directories.
Click to hide internal directories.