Follow

Implementation in : Figured out a way to implement custom Unmarshaler for dynamic values with user-given datatypes. I'm kinda proud of it 😅.

I implemented the decoding for primitive datatypes, just need to implement structs and arrays now.

· · Web · 1 · 0 · 0

BTW because of this little project, I got a pretty good exposure to reflect package now. Honestly I was always scared of using it because a lot of methods default to panic and do not return errors but I learned that panics can be avoided easily by just reading the documentation.

Onto implementing decoding for the structs today.

Sign in to participate in the conversation
Mastodon

This is a brand new server run by the main developers of the project as a spin-off of mastodon.social 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!