MCPcopy
hub / github.com/spf13/viper / apply

Method apply

viper.go:227–227  ·  view source on GitHub ↗
(v *Viper)

Source from the content-addressed store, hash-verified

225// https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis.
226type Option interface {
227 apply(v *Viper)
228}
229
230type optionFunc func(v *Viper)

Callers 2

NewWithOptionsFunction · 0.65
SetOptionsFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected