config

package
v0.1.50 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = koanf.New(".")

Config holds Sherlock's global configuration

Functions

func LoadTestConfig

func LoadTestConfig(t *testing.T)

LoadTestConfig is an extra at-test-time-only configuration loading step. This package's init function will have already run and loaded Sherlock's default configuration, but we might have different configuration we'd want to apply while testing. This function loads this package's test_config.yaml and any TEST_SHERLOCK_* environment variables on top of whatever configuration currently exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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