configutil

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SetDefault

type SetDefault interface {
	SetDefault(key string, value interface{})
}

SetDefault is an interface to abstract setting Viper defaults. (e.g. Allows adding a key prefix to every call to SetDefault when used with SetDefaultFunc.)

type SetDefaultFunc

type SetDefaultFunc func(key string, value interface{})

SetDefaultFunc implements SetDefault.

func (SetDefaultFunc) SetDefault

func (f SetDefaultFunc) SetDefault(key string, value interface{})

See SetDefault interface.

Jump to

Keyboard shortcuts

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