configtest

package
v1.22.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: GPL-3.0 Imports: 4 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(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