Versions in this module Expand all Collapse all v0 v0.0.1 Jun 29, 2021 Changes in this version + func Expand(in io.Reader) (string, error) + func ExpandBytes(b []byte) (string, error) + func ExpandString(s string, args ...interface{}) (string, error) + type EnvResolver struct + func (r *EnvResolver) Get(key string) string + func (r *EnvResolver) Reset() + func (r *EnvResolver) Set(key, value string) string + type Expander struct + func NewExpander(r Resolver) *Expander + func (exp *Expander) Expand(in io.Reader) (string, error) + func (exp *Expander) ExpandBytes(b []byte) (string, error) + func (exp *Expander) ExpandString(s string, args ...interface{}) (string, error) + func (exp *Expander) Get(key string) string + func (exp *Expander) NewBytesParser(b []byte) *Parser + func (exp *Expander) NewParser(in io.Reader) *Parser + func (exp *Expander) NewStringParser(s string, args ...interface{}) *Parser + func (exp *Expander) Reset() + func (exp *Expander) Set(key, value string) string + type Parser struct + func (p *Parser) Execute() (string, error) + type Resolver interface + Get func(key string) string + Set func(key, value string) string