config

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DebugEnabled bool   // whether debug logging is activated
	SourceDir    string // projects base directory

	DefaultOrg string // [optional] default repo organisation
	// contains filtered or unexported fields
}

Config represents the user system and environment configuration

func Load

func Load() (*Config, error)

Load returns a Config populated from the user environment

func NewTestConfig added in v0.4.0

func NewTestConfig() *Config

func (*Config) DataDir added in v0.0.5

func (c *Config) DataDir(elem ...string) string

func (*Config) HomeDir added in v0.0.5

func (c *Config) HomeDir(elem ...string) string

Jump to

Keyboard shortcuts

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