Documentation
¶
Overview ¶
Package assets bundles plugin/template metadata, GraphQL queries, and other static files into the binary via go:embed. The companion scripts/sync-assets.sh script materializes the directory tree from the upstream lowlighter/metrics checkout; this file is the only runtime entry point.
The "all:" prefix is required so directories whose names begin with "_" (rare upstream cases) are also included.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FS ¶
FS returns the embedded filesystem rooted at the assets/ directory. Callers (typically [config.LoadMetadata]) walk plugins/ and templates/ from this root.
func OcticonData ¶
OcticonData returns the embedded primer/octicons data.json that gen-octicons produces. internal/render.ReplaceOcticons reads it once at first use.
Types ¶
This section is empty.