notes

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package note handles the core note management functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseNoteFiles

func ParseNoteFiles(noteFiles []string, vaultDir string, asFileDetails bool) []list.Item

func Run

func Run(s *state.State, views map[string]v.View, viewFlag string) error

Types

type ListItem

type ListItem struct {
	// contains filtered or unexported fields
}

func (ListItem) Description

func (i ListItem) Description() string

func (ListItem) FilterValue

func (i ListItem) FilterValue() string

func (ListItem) Path

func (i ListItem) Path() string

func (ListItem) Title

func (i ListItem) Title() string

type NoteListModel

type NoteListModel struct {
	// contains filtered or unexported fields
}

func NewNoteListModel

func NewNoteListModel(
	s *state.State,
	viewName string,
) (*NoteListModel, error)

func (NoteListModel) Init

func (m NoteListModel) Init() tea.Cmd

func (NoteListModel) Update

func (m NoteListModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (NoteListModel) View

func (m NoteListModel) View() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳