skel

package
v0.0.0-...-4e6442e Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "0.1.0"

Version The main, base version of the project.

View Source
const VersionPrerelease = "dev"

VersionPrerelease A pre-release marker for version.

Variables

View Source
var GitCommit string

GitCommit The git commit of the build; this is set by the compiler.

View Source
var SemVersion = version.Must(version.NewVersion(Version))

SemVersion An instance of the version object; this can be used during compile and init time to // ensure that version of application is proper (matching semverse.org).

Functions

func VersionString

func VersionString() string

VersionString returns the semantic version of skel.

Types

type Config

type Config struct {
	Name      string
	Variables []Variable
	Templates []Template
}

Config The main configuration for the application.

type Template

type Template struct {
	Name string
}

Template The name of a generator.

type Variable

type Variable struct {
	Name  string
	Value string
}

Variable The tunable value to be passed into template.

Jump to

Keyboard shortcuts

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