config

package
v0.0.0-...-3b91f4c Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitViper

func InitViper()

func WriteFeedConfigs

func WriteFeedConfigs(feedConfigs []FeedConfig)

Types

type FeedConfig

type FeedConfig struct {
	Name string `yaml:"name"`
	Feed string `yaml:"feed"`
}

func AppendUniqueFeedConfig

func AppendUniqueFeedConfig(feedConfigs []FeedConfig, feedConfig FeedConfig) []FeedConfig

func OmitFeedConfigsMatching

func OmitFeedConfigsMatching(feedConfigs []FeedConfig, matchBy string) []FeedConfig

func ReadFeedConfigs

func ReadFeedConfigs() []FeedConfig

Jump to

Keyboard shortcuts

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