We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac64a36 commit d139150Copy full SHA for d139150
src/embed/embed.go
@@ -94,6 +94,7 @@
94
// Patterns must not match files whose names include the special punctuation characters " * < > ? ` ' | / \ and :.
95
// Matches for empty directories are ignored. After that, each pattern in a //go:embed line
96
// must match at least one file or non-empty directory.
97
+// If a non empty directory is matched, there must be no files with the name go.mod in the matching directory.
98
//
99
// If any patterns are invalid or have invalid matches, the build will fail.
100
0 commit comments