config

package
v0.0.1-beta4 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const VersionDev = "<dev>"

Variables

View Source
var GitHub = struct {
	Token   string
	BaseUrl string
}{
	BaseUrl: "https://github.com",
}
View Source
var Version = VersionDev

Version is the version of the av application. It is set automatically when creating release builds.

Functions

func FetchLatestVersion

func FetchLatestVersion() (string, error)

func Load

func Load(paths []string) (bool, error)

Load initializes the configuration values. It may optionally be called with a list of additional paths to check for the config file. Returns a boolean indicating whether or not a config file was loaded and an error if one occurred.

Types

This section is empty.

Jump to

Keyboard shortcuts

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