Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ekatek (0.47 sec)

  1. internal/bucket/lifecycle/expiration.go

    		return errLifecycleDateNotMidnight
    	}
    
    	*eDate = ExpirationDate{expDate}
    	return nil
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (eDate ExpirationDate) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if eDate.Time.IsZero() {
    		return nil
    	}
    	return e.EncodeElement(eDate.Format(time.RFC3339), startElement)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
Back to top