-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add FileSystem impl that expands Go templates
Added a new FileSystem that evaluates/expands Go templates from *.ftmpl files in the base filesystem. For example if the base filesystem contains file go.mod.ftmpl then the new resultant FS will contain go.mod file instead, and the file would be result of template execution with templateData as the template data. Signed-off-by: Matej Vašek <[email protected]>
- Loading branch information
1 parent
6c17586
commit 97fb956
Showing
2 changed files
with
205 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters