// TimeWithDefault returns *v if v is not nil. Otherwise it returns d.
TimeWithDefault returns *v if v is not nil. Otherwise it returns d.
// TimeWithDefault returns * v if v is not nil . Otherwise it returns d .
func TimeWithDefault(v *time.Time, d time.Time) time.Time {
	if v == nil {
		return d
	}
	return *v
}
func TimeWithDefault ( v * time . Time , d time . Time ) time . Time { if v == nil { return d } return * v }
TimeWithDefault returns *v if v is not nil.
TimeWithDefault returns * v if v is not nil .