config

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	APIKey        string `koanf:"api_key"`
	DBPath        string `koanf:"db_path"`
	Verbose       bool   `koanf:"verbose"`
	Quiet         bool   `koanf:"quiet"`
	Offline       bool   `koanf:"offline"`
	EnableAIScore bool   `koanf:"enable_ai_score"`
}

Config holds the application configuration.

func Load

func Load() (*Config, error)

Load reads configuration from defaults, config file, and environment variables. Precedence: defaults → YAML file → env vars.

Jump to

Keyboard shortcuts

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