// NewTimeData returns a TimeData struct with good defaults (no expire time, all times set to now)
NewTimeData returns a TimeData struct with good defaults (no expire time, all times set to now)
// NewTimeData returns a TimeData struct with good defaults ( no expire time all times set to now )
func NewTimeData(options ...TimeDataOption) TimeData {
	now := w.Now()
	td := TimeData{
		CreationTime:         &now,
		LastModificationTime: &now,
		LastAccessTime:       &now,
		LocationChanged:      &now,
		Expires:              w.NewBoolWrapper(false),
		UsageCount:           0,
	}
	for _, option := range options {
		option(&td)
	}
	return td
}
func NewTimeData ( options ... TimeDataOption ) TimeData { now := w . Now ( ) td := TimeData { CreationTime : & now , LastModificationTime : & now , LastAccessTime : & now , LocationChanged : & now , Expires : w . NewBoolWrapper ( false ) , UsageCount : 0 , } for _ , option := range options { option ( & td ) } return td }
NewTimeData returns a TimeData struct with good defaults (no expire time, all times set to now)
NewTimeData returns a TimeData struct with good defaults ( no expire time all times set to now )