config

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Editor      Editor      `yaml:"editor"`
	Preferences Preferences `yaml:"preferences"`
	Paths       Paths
}
var App AppConfig

type Editor

type Editor struct {
	Name        string   `yaml:"name"`
	SubCommands []string `yaml:"subCommands"`
}

type Paths

type Paths struct {
	ConfigFile string
	ConfigDir  string
	DataFile   string
	DataDir    string
	CacheDir   string
}

type Preferences

type Preferences struct {
	MergeSeparator  string `yaml:"mergeSeparator"`
	DefaultBehavior string `yaml:"defaultBehavior"` // Options: latest, main
}

Jump to

Keyboard shortcuts

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