config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package config reads a yaml config file from the XDG_CONFIG_HOME and unmarshals it into a user supplied struct

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get[T any]() (*T, error)

Get returns the cached value of the configuration struct if previously read else it reads struct from configuration path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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