config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONFIG_FILE   = "~/.karn.yml"
	FILE_READ_ERR = "Unable to open karn configuration file. Did you create a ~/.karn.yml in your" +
		" home directory?"
)

Variables

This section is empty.

Functions

func GetIdentity

func GetIdentity(path string, dirs Dirs) (*repo.Identity, error)

Types

type Dirs

type Dirs map[string]*repo.Identity

func GetConfig

func GetConfig() (Dirs, error)

Jump to

Keyboard shortcuts

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