config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default map[string]Field
View Source
var EnvKeyReplacer = strings.NewReplacer(".", "_")

Functions

func Init

func Init() error

Types

type Field

type Field struct {
	Key         string
	Value       any
	Description string
}

func (Field) Env

func (f Field) Env() string

func (Field) Pretty

func (f Field) Pretty() string

Jump to

Keyboard shortcuts

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