config

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package config provides configuration and path management.

Index

Constants

View Source
const (
	DefaultFileName = "feeds.txt"
	DefaultDirName  = "agent-rss"
)

Variables

This section is empty.

Functions

func DefaultFeedsPath

func DefaultFeedsPath() string

DefaultFeedsPath returns the default path for the feeds file. It uses $XDG_CONFIG_HOME/agent-rss/feeds.txt or ~/.config/agent-rss/feeds.txt.

func EnsureDir

func EnsureDir(path string) error

EnsureDir creates the parent directory for the given path if it doesn't exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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