config

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 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 Config

type Config struct {
	ConfigPath string `split_words:"true" default:"~/.tfvet.d"`
}

Config represents the application config. This makes it possible for the user to change the default path of the config files.

func FromEnv

func FromEnv() (*Config, error)

FromEnv parses environment variables into the config object based on envconfig name

Jump to

Keyboard shortcuts

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