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

Function overrideDefault

overrides_test.go:77–79  ·  view source on GitHub ↗
(assert *assert.Assertions, firstPath string, firstValue any, secondPath string, secondValue any)

Source from the content-addressed store, hash-verified

75}
76
77func overrideDefault(assert *assert.Assertions, firstPath string, firstValue any, secondPath string, secondValue any) *Viper {
78 return overrideFromLayer(defaultLayer, assert, firstPath, firstValue, secondPath, secondValue)
79}
80
81func override(assert *assert.Assertions, firstPath string, firstValue any, secondPath string, secondValue any) *Viper {
82 return overrideFromLayer(overrideLayer, assert, firstPath, firstValue, secondPath, secondValue)

Callers 1

TestNestedOverridesFunction · 0.85

Calls 1

overrideFromLayerFunction · 0.85

Tested by

no test coverage detected