config

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoConfig          = "-no-config"
	DefaultConfigFile = "g.yaml"
)

Variables

View Source
var (
	InitConfigDir util.Once
	Dir           = ""
)

Functions

func GetUserConfigDir

func GetUserConfigDir() (string, error)

Types

type Config

type Config struct {
	Args []string `yaml:"Args"`
}

func Load

func Load() (*Config, error)

type ErrReadConfig

type ErrReadConfig struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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