We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d08f35 commit bb45fc5Copy full SHA for bb45fc5
src/embed/embed.go
@@ -90,7 +90,8 @@
90
// depending on whether the package wants to make the data available to other packages.
91
// It can only be used with variables at package scope, not with local variables.
92
//
93
-// Patterns must not match files outside the package's module, such as ‘.git/*’ or symbolic links.
+// Patterns must not match files outside the package's module, such as ‘.git/*’ or symbolic links
94
+// or a directory contains the go.mod file.
95
// Patterns must not match files whose names include the special punctuation characters " * < > ? ` ' | / \ and :.
96
// Matches for empty directories are ignored. After that, each pattern in a //go:embed line
97
// must match at least one file or non-empty directory.
0 commit comments