ITRS-Group / cordial

Cordial comprises a set of interrelated programs, integrations, libraries and packages for Geneos, principally written in Go.
Other
7 stars 0 forks source link

Work around viper bug #1106 #172

Closed pgalbavy-itrs closed 1 year ago

pgalbavy-itrs commented 1 year ago

Viper has a bug (https://github.com/spf13/viper/issues/1106) that means Get and all derivatives fail to get all elements of a map (or unmarshal) where an element has been set after defaults etc.

Implement a variety of https://github.com/spf13/viper/pull/1504 to work around this without duplicating the whole codebase.