config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRepo

func AddRepo(repo string) error

func DefaultPath

func DefaultPath() string

func RemoveRepo

func RemoveRepo(repo string) error

func Save

func Save(cfg *Config) error

Types

type Config

type Config struct {
	Repos    []string `yaml:"repos"`
	Interval int      `yaml:"interval"`
}

func Load

func Load() (*Config, error)

Jump to

Keyboard shortcuts

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