type TrackEventTimeStamps … // GetLastEventTimestamp provides a mock function with given fields: eventname func (_m *TrackEventTimeStamps) GetLastEventTimestamp(eventname string) (time.Time, bool) { … } // SetLastEventTimestamp provides a mock function with given fields: eventname func (_m *TrackEventTimeStamps) SetLastEventTimestamp(eventname string) { … } // NewTrackEventTimeStamps creates a new instance of TrackEventTimeStamps. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. // The first argument is typically a *testing.T value. func NewTrackEventTimeStamps(t interface { … }