templ

package
v0.0.0-...-c1ce984 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigHomeDir = filepath.Join(homeDir(), ".lets-gopher")
View Source
var TemplateDir = filepath.Join(ConfigHomeDir, "templates")

Functions

func GenerateProject

func GenerateProject(templatePath string, goHomeBasePath string)

func ListTemplates

func ListTemplates() map[string]string

Types

type GenConfig

type GenConfig struct {
	Domain string `yaml:",omitempty"`
}

func Load

func Load() (config GenConfig, err error)

func LoadReader

func LoadReader(fd io.Reader) (config GenConfig, err error)

Jump to

Keyboard shortcuts

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