Documentation
¶
Overview ¶
Package examples provides access to embedded scafctl example files.
Examples are embedded at build time via go:embed, making them available in distributed binaries without filesystem access to the source repo.
For development, examples are also looked up from the filesystem as a fallback when the embedded filesystem is empty or when the examples weren't copied at build time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmbeddedExamples embed.FS
Functions ¶
func Categories ¶
func Categories() []string
Categories returns the list of available example categories.
func DescriptionFromPath ¶
DescriptionFromPath generates a human-readable description from a file path.
Types ¶
Click to show internal directories.
Click to hide internal directories.