command
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 19, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
envtpl
A clone and refresh of https://github.com/arschles/envtpl
Added:
- support for go mod
- reading template from STDIN
Render Go templates from Environment Variables. Let's say you have the following template file called pwd.tpl
:
The current working directory is {{.PWD}}
Run envtpl pwd.tpl
, and you'll see the following printed to STDOUT:
The current working directory is /path/you/executed/from
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.