Skip to content

update mapstructure import path for viper 1.20.0+ compatibility #889

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PaPerseller
Copy link

Upon upgrading the dependency github.com/spf13/viper to version 1.20.0 or later within the go.mod file, update mapstructure import path from github.com/mitchellh/mapstructure to github.com/go-viper/mapstructure/v2 to support Viper 1.20.0+ (see viper breaking changes
This change fixes compilation errors when using newer viper versions.

@PaPerseller PaPerseller changed the title update mapstructure import path to github.com/go-viper/mapstructure/v2 for viper 1.20.0+ compatibility update mapstructure import path for viper 1.20.0+ compatibility Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant