config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrConfigNotFound = errors.New("config file not found")
)

Functions

func GetDataDir

func GetDataDir() string

func GetDir

func GetDir() string

func GetFilePath

func GetFilePath() string

Types

type Config

type Config struct {
	LLMAPIKey string `json:"llm_api_key"`
	LLMModel  string `json:"llm_model"`
}

func Load

func Load() (*Config, error)

func Save

func Save(config Config) (*Config, error)

Jump to

Keyboard shortcuts

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