cmdutil

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnv

func GetEnv(key, defaultValue string) string

GetEnv gets an environment variable or returns a default value

func GetEnvInt

func GetEnvInt(key string, defaultValue int) int

GetEnvInt gets an integer environment variable or returns a default value

func SetupLogger

func SetupLogger(levelStr string) *slog.Logger

SetupLogger creates a structured logger with the specified level

Types

This section is empty.

Jump to

Keyboard shortcuts

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