configtest

package
v0.38.5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmptyConfig

func EmptyConfig() *config.Config

EmptyConfig returns config without any values and sections.

func ForEachFileType

func ForEachFileType(pref string, f func(*config.Config))

ForEachFileType passes configs read from next files:

  • `<pref>.yaml`;
  • `<pref>.json`.

func ForEnvFileType

func ForEnvFileType(t testing.TB, pref string, f func(*config.Config))

ForEnvFileType creates config from `<pref>.env` file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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