by marcus_holmes · 5y ago · 0 comments
It also doesn't touch on the other useful "system" funcs to include on a type (Scan, Value, Marshal, etc)
I didn't go into any of the Scan/Value/Marshal etc as it was a little beyond the scope of this article. I can certainly do a follow up article on it though
Thanks for the feedback!
* yes I know time.IsZero() is a thing, and the semantics are similar, but I want the compiler to warn me if I'm trying to use a time without checking if it's actually initialised first.