util

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAndValidateConfig

func LoadAndValidateConfig(
	configPath string,
) (*config.Config, error)

LoadAndValidateConfig loads a YAML config file and validates it before use.

It returns the loaded config when successful. It returns a wrapped error when loading or validation fails so callers can log or display a clear failure reason.

Types

This section is empty.

Jump to

Keyboard shortcuts

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