config

package
v0.0.0-...-1fcb79c Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(key string) interface{}

Get returns a config value

func PathUsed

func PathUsed() string

PathUsed returns the used config path

func Set

func Set(key string, value interface{})

Set modifies a config value

func Setup

func Setup(configPath string) error

Setup reads the config file and parses it

func SetupWithName

func SetupWithName(configPath string, configName string) error

SetupWithName reads the config file and parses it and allows to set the name

Types

This section is empty.

Jump to

Keyboard shortcuts

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