package
Version:
v0.23.0
Opens a new window with list of versions in this module.
Published: May 21, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Match is a convenience function that compiles expr and tests fm
in a single call. Returns an error only if the CUE expression is
invalid.
Matcher holds a pre-compiled CUE expression for matching
against front matter maps.
Compile parses a CUE struct literal body and returns a
Matcher. Returns an error if the expression is invalid.
Match reports whether fm satisfies the compiled CUE expression.
A nil or empty map never matches an expression that requires fields.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.