dagobah icon indicating copy to clipboard operation
dagobah copied to clipboard

go build is failing with viper

Open kushaldas opened this issue 8 years ago • 3 comments

go get github.com/spf13/dagobah

github.com/spf13/dagobah/commands

gocode/src/github.com/spf13/dagobah/commands/fetch.go:104: undefined: viper.Marshal

I can not see the Marshal function at https://github.com/spf13/viper/blob/master/viper.go

kushaldas avatar Jul 01 '16 11:07 kushaldas

It seems the function is now called viper.Unmarshal

kushaldas avatar Jul 01 '16 11:07 kushaldas

Same problem here. :(

raelmax avatar Aug 18 '16 17:08 raelmax

renaming to viper.Unmarshal worked for me ¯_(ツ)_/¯

invad0r avatar Apr 11 '19 19:04 invad0r