Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveEmbed ¶
ResolveEmbed resolves //go:embed patterns and returns only the file list. For use by go mod vendor to find embedded files it should copy into the vendor directory. TODO(#42504): Once go mod vendor uses load.PackagesAndErrors, just call (*Package).ResolveEmbed
Types ¶
type EmbedError ¶
An EmbedError indicates a problem with a go:embed directive.
func (*EmbedError) Error ¶
func (e *EmbedError) Error() string
func (*EmbedError) Unwrap ¶
func (e *EmbedError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.