Documentation ¶
Index ¶
- Constants
- func GetYaml(str string) string
- func IncludeNote(filters map[string]string, note Node, logger *log.Logger) bool
- func NewNoteService(logger *log.Logger, repo NodeRepository) *noteService
- func NewTimeId() string
- type Filter
- type Metadata
- type Node
- type NodeRepository
- type NodeType
- type NoteService
Constants ¶
View Source
const ( // YYYY-MM-DD: 2022-03-23 YYYYMMDD = "2006-01-02" // 24h hh:mm:ss: 14:23:20 HHMMSS24h = "15:04:05" )
Variables ¶
This section is empty.
Functions ¶
func NewNoteService ¶
func NewNoteService(logger *log.Logger, repo NodeRepository) *noteService
Types ¶
type Metadata ¶
func ExtractMetadata ¶
func (*Metadata) IncludeTags ¶
Include tags check that all tags are included in the metadata
type Node ¶
type NodeRepository ¶
func NewSqliteNodeRepo ¶
func NewSqliteNodeRepo(path string) NodeRepository
Click to show internal directories.
Click to hide internal directories.