Sitemap
Aug 13, 2023

Thank you for paying attention!

You're right. In the Go Playgrounds, the output you observe ("2009-11-10T23:00:00Z") is precisely due to the built-in time.Time struct being marshaled to JSON with its default MarshalJSON method. I admit, I over-simplified in the example provided.

Thank you again for highlighting this, and I'll make sure to refine the content based on your feedback. Appreciate it! 🙂

--

Kacper Bąk
Kacper Bąk

Written by Kacper Bąk

Software Engineer & Backend Developer