config

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigName = "goproj.conf.toml"
)

Variables

View Source
var (
	UserHomeDir, _ = os.UserHomeDir()
	ConfigPath     = filepath.Join(UserHomeDir, configFolder)
	ConfigFilepath = filepath.Join(ConfigPath, ConfigName)
)

Functions

func Get

func Get() (config *models.GlobalConfig, ok bool)

func Store

func Store(config *models.GlobalConfig) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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