util

package
v0.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2018 License: MIT Imports: 17 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "undefined"
	GitSha  = "undefined"
	Release = "false"
	Dirty   = "true"
)

Functions

func DownloadAndParseModule

func DownloadAndParseModule(mod string) (*config.Config, error)

func DownloadModule

func DownloadModule(cacheDir, source string) (string, error)

func Dump

func Dump(foo interface{})

func OpenTemplate

func OpenTemplate(source io.Reader) (*template.Template, error)

OpenTemplate will read `source` for a template, parse, configure and return a template.Template

func ParseVersion added in v0.14.0

func ParseVersion(version string) (semver.Version, string, bool)

func VersionCacheKey

func VersionCacheKey() string

func VersionString

func VersionString() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL