config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveConfig

func SaveConfig(key, value string) error

func UpdateConfig

func UpdateConfig(localiteConfig LocaliteConfig) error

Types

type LocaliteConfig

type LocaliteConfig map[string]string

func LoadConfig

func LoadConfig() (*LocaliteConfig, error)

func (*LocaliteConfig) DeleteConfigValue

func (c *LocaliteConfig) DeleteConfigValue(key string)

func (*LocaliteConfig) GetConfigValue

func (c *LocaliteConfig) GetConfigValue(key string) (string, bool)

func (*LocaliteConfig) SetConfigValue

func (c *LocaliteConfig) SetConfigValue(key, value string)

Jump to

Keyboard shortcuts

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