You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pkg/xgenny.NewEmbedWalker is used to remove the files prefix from the filesystem passed as a embed.FS. But since go 1.16 we can use io/fs.Sub for this purpose, which is more standard.
As an exemple, this is done in PR #3381 for the app generator.
Once all generators are updated, pkg/xgenny.NewEmbedWalker and related types can probably be removed.
The text was updated successfully, but these errors were encountered:
pkg/xgenny.NewEmbedWalker
is used to remove thefiles
prefix from the filesystem passed as aembed.FS
. But since go 1.16 we can useio/fs.Sub
for this purpose, which is more standard.As an exemple, this is done in PR #3381 for the app generator.
Once all generators are updated,
pkg/xgenny.NewEmbedWalker
and related types can probably be removed.The text was updated successfully, but these errors were encountered: