config

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckConfig

func CheckConfig() error

func SaveConfig

func SaveConfig(config *Config) error

SaveConfig saves the configuration to the config file.

Types

type Config

type Config struct {
	Github Github `mapstructure:"github"`
}

func LoadConfig

func LoadConfig() (*Config, error)

type Github

type Github struct {
	Token string `mapstructure:"token"`
}

Jump to

Keyboard shortcuts

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