config

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig(opts ...Option) (*config, error)

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithConfigPath added in v0.1.2

func WithConfigPath(path string) Option

func WithEnvPath added in v0.1.4

func WithEnvPath(path string) Option

func WithOptionalEnv

func WithOptionalEnv(env string) Option

func WithRequiredEnv

func WithRequiredEnv(env string) Option

Jump to

Keyboard shortcuts

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