You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm looking for a way to get the a map of keys for the root in a yaml file.
like
viper.RootKey()
Would return key1、key2、key3.I know
viper.AllKeys()
, this returns key1.subkey1, key1.subkey2, key2.subkey3 ... , this is not the result I want.Has anyone done this?
Beta Was this translation helpful? Give feedback.
All reactions