Documentation ¶ Overview ¶ Package relations resolves wiki-link refs into typed graph edges on top of the node tree. Index ¶ func Run(ctx context.Context, st *store.Store, sourceNodes []*parser.ContextNode) error type Resolver func New(st *store.Store) *Resolver func (r *Resolver) Resolve(ctx context.Context, ref parser.WikilinkRef) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(ctx context.Context, st *store.Store, sourceNodes []*parser.ContextNode) error Types ¶ type Resolver ¶ type Resolver struct { // contains filtered or unexported fields } func New ¶ func New(st *store.Store) *Resolver func (*Resolver) Resolve ¶ func (r *Resolver) Resolve(ctx context.Context, ref parser.WikilinkRef) (string, error) Resolve a single ref to a target node ID. Source Files ¶ View all Source files compile.goresolver.go Click to show internal directories. Click to hide internal directories.