config

package
v0.0.0-...-93b8736 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: 0BSD Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigFile string

Filepath of the TOML configuration file.

Functions

func Delete

func Delete(key string) error

Delete deletes an entry from the configuration file.

func FileExists

func FileExists() bool

FileExists returns true if the configuration file exists.

func Get

func Get(key string) (value string, found bool, err error)

Get reads a value from the configuration file.

func Set

func Set(key, value string) error

Set writes a value to the configuration file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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