util

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseLogLevel

func ParseLogLevel(value string) (log.Level, error)

ParseLogLevel reads LOG_LEVEL. Empty means info. Accepted values are debug, info, warn, and error.

func SetupLogger

func SetupLogger(level log.Level)

SetupLogger configures slog and the charmbracelet default logger to the same level. Call this once at startup.

func Unzip

func Unzip(src string, dest string) (string, error)

func ZipDir

func ZipDir(src string, dest string) error

func ZipFiles

func ZipFiles(path string, files []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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