config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConfigPath

func DefaultConfigPath() string

DefaultConfigPath returns the default config file path

Types

type Config

type Config struct {
	Roots  []string `yaml:"roots"`
	Ignore []string `yaml:"ignore"`
	Editor string   `yaml:"editor"`
}

Config holds the application configuration

func Load

func Load(path string) (*Config, error)

Load reads configuration from a YAML file Returns default config if file doesn't exist

Jump to

Keyboard shortcuts

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