config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MissingConfigFileError = errors.New("config not found")

Functions

func WriteAppConfig

func WriteAppConfig()

Types

type AppConfig

type AppConfig struct {
	GithubToken      string
	ShellHistoryPath string
	ShellType        string
}

func ReadAppConfig

func ReadAppConfig() (AppConfig, error)

Jump to

Keyboard shortcuts

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