chore(deps): replace mitchellh/mapstructure with go-viper/mapstructure/v2#176
Conversation
mitchellh/mapstructure is archived and no longer maintained. Replace it with the actively maintained fork go-viper/mapstructure/v2, which is a drop-in replacement with the same API. Signed-off-by: Abhishek <abhishekup082@gmail.com>
|
Hi @mathieu-benoit, |
There was a problem hiding this comment.
LGTM, thanks for detailed explanation and the implementation, @Abhishek9639!
|
Awesome, thanks. I'll move on to step 2 (score-implementation-sample). Should I wait for a new release of |
|
Hi @Abhishek9639, FYI I just updated this ticket there score-spec/score-compose#443 (comment). tl,dr: |
|
Got it, thanks for the update. I’ll proceed with integrating the new score-go version into score-compose. |
Description
Replace the archived
mitchellh/mapstructuredependency with the actively maintainedgo-viper/mapstructure/v2fork.Changes:
loader/loader.gofromgitlite.zycloud.tk/mitchellh/mapstructuretogitlite.zycloud.tk/go-viper/mapstructure/v2.go.modto usegitlite.zycloud.tk/go-viper/mapstructure/v2 v2.5.0.go mod tidyto updatego.sum.What does this PR do?
mitchellh/mapstructurewas archived by the author and is no longer maintained, which means no future bug fixes or security patches. This PR swaps it out forgo-viper/mapstructure/v2, which is the maintained fork with the same API.This is part of the effort tracked in score-spec/score-compose#443.
Types of changes
Checklist: