Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#249·mapstructure

Slice or Map not decoded

Author: DasJottCreated May 18, 2021Updated Jun 19, 2024
Labelsenhancement

If a field is a slice of structs they are not decoded, instead it stays a slice of that type.
Same goes for maps.

See example here.

Source: mitchellh/mapstructure

View original on GitHubView discussion on GitHub