JSON and zero dates in Go
The Go JSON encoder is great (easy to use and easy to extend), except for a tiny thing : zero times which marshal to “0001–01–01T00:00:00Z” instead of something like null. Yuck !
enc := json.NewEncoder(os.Stdout)
enc.Encode(time.Time{}) //…