embed: embed directive does not add _ and . directories recursivley #45019
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
_
and.
// go:embed embed/*
directive and store it into aembed.FS
variableembed.FS
variableCreate the directory structure:
Play golang: https://play.golang.org/p/ui10fGMnItQ
What did you expect to see?
Directories prefixed with
.
and_
underrecursive
should be displayed too.What did you see instead?
The text was updated successfully, but these errors were encountered: