code: func TimeDurationVal(t *time.Duration) time.Duration {
  	if t == nil {
  		return time.Duration(0)
  	}
  	return *t
  }
docs: // TimeDurationVal returns the value of the string at the pointer, or 0 if the
  // pointer is nil.