draftpath

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Home

type Home string

Home describes the location of a CLI configuration.

This helper builds paths relative to a Draft Home directory.

func (Home) Packs

func (h Home) Packs() string

Packs returns the path to the Draft starter packs.

func (Home) Path added in v0.6.0

func (h Home) Path(elem ...string) string

Path returns Home with elements appended.

func (Home) Plugins

func (h Home) Plugins() string

Plugins returns the path to the Draft plugins.

func (Home) String

func (h Home) String() string

String returns Home as a string.

Implements fmt.Stringer.

Jump to

Keyboard shortcuts

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