configer

package module
v0.0.0-...-963be78 Latest Latest
Warning

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

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

README

Configer

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(c Config, paths ...string) error

LoadConfig takes in multiple supported filepath names and reads the configs for them. LoadConfig will _always_ pull from the OS environment variables. Providing zero paths will only load from the ENV. Supported file types: - .env - .json - .yaml

Types

type Config

type Config interface {
	Validate() error
}

type StringSlice

type StringSlice []string

func (*StringSlice) Set

func (ss *StringSlice) Set(val string) error

func (StringSlice) String

func (ss StringSlice) String() string

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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