config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultDatabasePath

func DefaultDatabasePath() string

func DefaultDir

func DefaultDir() string

func DefaultPath

func DefaultPath() string

func ExpandHome

func ExpandHome(path string) string

func ResolveDatabasePath

func ResolveDatabasePath(cliPath string, cliProvided bool, cfgPath string) (string, error)

Types

type Config

type Config struct {
	Paths        []string `yaml:"paths"`
	DatabasePath string   `yaml:"database_path"`
}

func Load

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

Jump to

Keyboard shortcuts

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