config

package
v0.0.0-...-c737911 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	Test *Test
	// contains filtered or unexported fields
}

func New

func New() *Settings

func (*Settings) Apply

func (s *Settings) Apply(o interface{}) error

func (*Settings) SetBasePath

func (s *Settings) SetBasePath(base string)

func (*Settings) SetFileFlagName

func (s *Settings) SetFileFlagName(n string)

type Test

type Test struct {
	// contains filtered or unexported fields
}

func (*Test) SetEnv

func (t *Test) SetEnv(e map[string]string)

func (*Test) SetFileSystem

func (t *Test) SetFileSystem(fs map[string]string)

func (*Test) SetFlags

func (t *Test) SetFlags(f map[string]string)

Jump to

Keyboard shortcuts

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