This project is no longer maintained by Turbine Labs, which has shut down.
The envtemplate project provides a simple mechanism to fill in golang-style templated files with variables from the environment.
- Go 1.10.3 or later (previous versions may work, but we don't build or test against them)
The envtemplate depends on our cli and nonstdlib packages; the tests depend on our test package. It should always be safe to use HEAD of all master branches of Turbine Labs open source projects together, or to vendor them with the same git tag.
go get -u github.com/turbinelabs/envtemplate/...
Once installed, further usage can be obtained with:
$GOPATH/bin/envtemplate -h
mkdir -p $GOPATH/src/turbinelabs
git clone https://github.com/turbinelabs/envtemplate.git > $GOPATH/src/turbinelabs/envtemplate
go test github.com/turbinelabs/envtemplate/...
Please see Versioning of Turbine Labs Open Source Projects.
Patches accepted! Please see Contributing to Turbine Labs Open Source Projects.
All Turbine Labs open-sourced projects are released with a Contributor Code of Conduct. By participating in our projects you agree to abide by its terms, which will be carefully enforced.