Discover Packages
github.com/dm03514/test-engine
engine
templateprocessors
package
Version:
v0.0.0-...-d2d06f5
Opens a new window with list of versions in this module.
Published: Apr 10, 2018
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Env contains regular expression to look for and function to pull variables from env
NewEnv creates an env parser
Process replaces templated variables with variables from the environment
TODO not sure about the type conversions, favoring strings for ease of logging
but probably an easier way anyhow
type GenUUID func() uuid.UUID
GenUUID a function to return a new UUID
LookupEnv fetches a key from the environment
UUID contains the regex to use to find UUID's a function to generate UUIDs
NewUUID creates a new UUID template processor
Process applies the UUID substitutions
Source Files
¶
Click to show internal directories.
Click to hide internal directories.