config

package
v0.0.0-...-5217cc4 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(c any, paths ...string) (err error)

func LoadConfigSkipValidate

func LoadConfigSkipValidate(c any, paths ...string) error

func RegisterParser

func RegisterParser(ext string, m Marshaler, u Unmarshaler)

func SetConfig

func SetConfig(c any) error

Types

type Marshaler

type Marshaler func(writer io.Writer, v interface{}) error

type Unmarshaler

type Unmarshaler func(reader io.Reader, v interface{}) error

Jump to

Keyboard shortcuts

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