conf

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read()

func Set

func Set[T Configurable](take *T, envKey, flagKey string, def T)

func SetEnv

func SetEnv[T Configurable](take *T, envKey string, def T)

func SetFlag

func SetFlag[T Configurable](take *T, flagKey string, def T)

Types

type Configurable

type Configurable interface {
	parse.Parseable
}

Jump to

Keyboard shortcuts

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