config

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const LatestVersion = cfgv2.Version

LatestVersion points to the latest version of the config format.

Variables

This section is empty.

Functions

func IsNotFound

func IsNotFound(err error) bool

IsNotFound returns true if an error is related to a file not found

func NotFoundError

func NotFoundError(err error) error

NotFoundError wraps the given error and makes it into a not found one

func ReadFile added in v0.3.0

func ReadFile(path string) (cfgv2.Config, error)

ReadFile takes a path and returns the parsed config file.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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