Categorygithub.com/wynshop-open-source/gomplate
modulepackage
2.8.0+incompatible
Repository: https://github.com/wynshop-open-source/gomplate.git
Documentation: pkg.go.dev

# README

gomplate logo

Read the docs at gomplate.hairyhenderson.ca.

Build Status Windows Build Go Report Card Codebeat Status Coverage Total Downloads CII Best Practices

hairyhenderson/gomplate on DockerHub DockerHub Stars DockerHub Pulls DockerHub Image Layers DockerHub Latest Version DockerHub Latest Commit

Install Docs

A Go template-based CLI tool. gomplate can be used as an alternative to envsubst but also supports additional template datasources such as: JSON, YAML, AWS EC2 metadata, BoltDB, Hashicorp Consul and Hashicorp Vault secrets.

I really like envsubst for use as a super-minimalist template processor. But its simplicity is also its biggest flaw: it's all-or-nothing with shell-like variables.

Gomplate is an alternative that will let you process templates which also include shell-like variables. Also there are some useful built-in functions that can be used to make templates even more expressive.

Read more documentation at gomplate.hairyhenderson.ca!

Please report any bugs found in the issue tracker.

Releasing

Right now the release process is semi-automatic.

  1. Create a release tag: git tag -a v0.0.9 -m "Releasing v0.9.9" && git push --tags
  2. Build binaries & compress most of them: make build-release
  3. Create a release in github!

License

The MIT License

Copyright (c) 2016-2018 Dave Henderson

Analytics

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Funcs - The function mappings are defined here!.
RunTemplates - run all gomplate templates specified by the given configuration.

# Variables

Metrics tracks interesting basic metrics around gomplate executions.
Stdout allows overriding the writer to use when templates are written to stdout ("-").

# Structs

Config - values necessary for rendering templates with gomplate.
MetricsType - Warning: experimental! This may change in breaking ways without warning.