Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyAllEmbed ¶
CopyAllEmbed copies everything from the root of the embedded FS to destDir.
func CopyFromEmbed ¶
CopyFromEmbed recursively copies all files from an embed.FS directory to a destination.
func MustReadFromEmbed ¶ added in v0.0.8
MustReadFromEmbed reads a file from an embedded filesystem and returns its contents as a string.
Panics if the file cannot be read.
Types ¶
Click to show internal directories.
Click to hide internal directories.