Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@joshkaplinsky
Copy link
Contributor

The yaml.v3 package addresses a number of issues that had been lingering around the previous API version - namely, string-keyed maps for nested maps. With the upgrade to yaml.v3 nested maps, where all keys are a string, will be decoded as map[string]any rather than map[any]any. This is inline with the encoding/json package and more streamlined when working with both JSON and YAML.

Upgrading the package continues to pass all tests.

https://ubuntu.com/blog/api-v3-of-the-yaml-package-for-go-is-available

@kkyr
Copy link
Owner

kkyr commented Feb 3, 2023

Thanks for the PR!

Linting error not related to change.

@kkyr kkyr merged commit 95c6c10 into kkyr:master Feb 3, 2023
@joshkaplinsky joshkaplinsky deleted the upgrade-yaml.v3 branch February 3, 2023 22:21
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.

2 participants