notes

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 16 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package notes is the Notes module: Markdown files in a folder, written by the owner and the agent, linked with [[wiki links]] and marked up with the core's marks.

The notes are plain files, so anything else that edits Markdown can share the folder. Which folder is a live setting: point it somewhere else and the list follows at once.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hit

type Hit struct {
	Path  string `json:"path"`
	Title string `json:"title"`
	Line  int    `json:"line"`
	Text  string `json:"text"`
}

Hit is one line of a note that matches a search.

type Note

type Note struct {
	// Path is relative to the notes folder, with forward slashes: "ideas/surface.md".
	Path  string `json:"path"`
	Title string `json:"title"`
	// Text is the file's contents. Listings leave it out.
	Text string `json:"text,omitempty"`
	// Rev identifies the contents. A write that names the rev it started from is refused
	// when the file has changed since.
	Rev      string `json:"rev,omitempty"`
	Modified string `json:"modified"`
	Size     int64  `json:"size"`
}

Note is one note: a Markdown file in the notes folder.

Jump to

Keyboard shortcuts

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