userconfig

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigPath

func ConfigPath() (string, error)

func Save

func Save(cfg *UserConfig) error

Types

type PresetEntry

type PresetEntry struct {
	TLDs []string `toml:"tlds"`
}

type UserConfig

type UserConfig struct {
	Presets map[string]PresetEntry `toml:"presets"`
}

func Load

func Load() (*UserConfig, error)

Jump to

Keyboard shortcuts

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