config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActiveDir

func ActiveDir() string

ActiveDir returns the currently configured active directory

func InitWithOverrides

func InitWithOverrides(or *Config)

InitWithOverrides sets the config to the config supplied as its argument

func LatestKonfFilePath added in v0.2.0

func LatestKonfFilePath() string

LatestKonfFilePath returns the currently configured latest konf file

func StoreDir

func StoreDir() string

StoreDir returns the currently configured store directory

Types

type Config

type Config struct {
	KonfDir string
	Silent  bool
}

Config describes all values that can currently be configured for konf

func ConfFromHomeDir

func ConfFromHomeDir() (*Config, error)

ConfFromHomeDir returns an initialized config based on the users HomeDir

Jump to

Keyboard shortcuts

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