config

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SymlinkBuilder creates symlinks when 'volt build'.
	SymlinkBuilder = "symlink"
	// CopyBuilder copies/creates regular files when 'volt build'.
	CopyBuilder = "copy"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Alias map[string][]string `toml:"alias"`
	Build configBuild         `toml:"build"`
	Get   configGet           `toml:"get"`
	Edit  configEdit          `toml:"edit"`
}

Config is marshallable content of config.toml

func Read

func Read() (*Config, error)

Read reads from config.toml and returns Config

Jump to

Keyboard shortcuts

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