resolveitem

package
v0.0.0-...-4d14c86 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound  = errors.New("no item at this path")
	ErrAmbiguous = errors.New("several items at this path, use a uuid")
)

Functions

func Process

func Process(ctx context.Context, db bun.IDB, kind domain.Kind, refs []string) *run

Process turns references into ids: a path (/Projects/Go/Ideas) is looked up among the live items of the kind (any kind when empty), anything else is left for the caller to treat as a uuid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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