config

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() *config

Restituisce un puntatore alla configurazione corrente interna

func GetConfigFilename

func GetConfigFilename() string

Restituisce il nome del file di configurazione in uso

func GetConfigPath

func GetConfigPath() string

Restituisce il percorso del file di configurazione in uso

func LoadPrefs

func LoadPrefs(path string) error

Dato il percorso di un file di configurazione, controlla il tipo del file e, se valido, lo converte nella rappresentazione interna e lo memorizza

func ReloadPrefs

func ReloadPrefs()

WIP: ricarica file di configurazione da disco

Types

This section is empty.

Jump to

Keyboard shortcuts

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