note

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(path string) error

Delete deletes the note

func List

func List(prefix string) ([]string, error)

List returns a list of notes with the given prefix

func Open

func Open(path string) error

Open use the default editor to open the note

func Read

func Read(path string) (string, error)

Read returns the note

func Tree

func Tree(prefix string) (string, error)

Tree returns a list of notes in tree form with the given prefix

func Write

func Write(path string, content string, overwrite bool) error

WritePost overwrites the note

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL