config

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDefaultConfigFile

func CreateDefaultConfigFile(filePath string)

Creates the YAML config file

func GetConfigDirPath added in v0.0.2

func GetConfigDirPath() (string, error)

func ReadConfig

func ReadConfig(filePath string) error

Types

type Config

type Config struct {
	Channels []string `yaml:"channels"`
}

Jump to

Keyboard shortcuts

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