config

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MIT Imports: 5 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 WithModuleName

func WithModuleName(name 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