config

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Directory = fmt.Sprintf("%s/%s/", home, c.DataDir)
	File      = fmt.Sprintf("%s%s", Directory, c.ConfigFileName)
)
View Source
var Default = Config{
	Greeting: true,
	NoColor:  false,
}

Functions

func Check added in v1.8.0

func Check()

func Read

func Read() *config.Config

Types

type Config

type Config struct {
	Greeting bool `json:"greeting"`
	NoColor  bool `json:"no-color"`
}

Jump to

Keyboard shortcuts

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