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

How to use mapstructure with google uuid

Author: elooCreated Jan 27, 2021Updated Jun 3, 2024

Hi,

i'm just trying to decode a map into a struct with uuid but it looks like its not working out of the box.

So is there a trick to get mapstructure working with uuid of google?

Here is a small playground. https://play.golang.org/p/Gn08PEr9shS

Thanks

Source: mitchellh/mapstructure

View original on GitHubView discussion on GitHub