config

package
v0.0.0-...-c84fef6 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DIRECTORY_NAME = ".TaskWizard"
	CONFIG_NAME    = "TaskWizard.yaml"
	LOG_NAME       = "TaskWizard.log"
)

Variables

This section is empty.

Functions

func SaveConfig

func SaveConfig(config TaskConfig, filename string) error

Types

type TaskConfig

type TaskConfig struct {
	Filename  string `yaml:"filename"`
	DataStore string
}

func GetConfig

func GetConfig(filename string) *TaskConfig

func LoadConfig

func LoadConfig() *TaskConfig

func NewDefault

func NewDefault() *TaskConfig

Jump to

Keyboard shortcuts

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