There's some reason to not have the function `IsZero` to time.Duration ? IMO, I think this can be useful:
``` type Server struct { timeout time.Duration `yaml:"timeout:"` } ... if srv.timeout.IsZero() { srv.timeout = defaultServerTimeout } ``` Anyone knows if there's some restriction to not have *IsZero() bool *functions to defined types as int64 ? Regards, -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.