envconfig

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(name string, cfg any) sen.Plugin

Config is a sen.Plugin to load a config from environment variables and registers it to Hub under the given name.

Usage

_ = app.With(envconfig.Config("echo.config", &echo.Config{}))

Types

This section is empty.

Jump to

Keyboard shortcuts

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