Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugLog

func DebugLog(format string, args ...interface{})

DebugLog writes debug output to a log file if debug mode is enabled

Types

type Config

type Config struct {
	CacheTTL        int
	NoColor         bool
	DisplayMode     string
	InfoMode        string
	Debug           bool
	AggregationMode string // "sliding" or "fixed"
	AutoUpdate      bool
}

Config holds all application configuration

func Get

func Get() *Config

Get returns the global configuration

func Parse

func Parse() *Config

Parse parses command line flags and environment variables

Jump to

Keyboard shortcuts

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