go-bongo / bongo

Go ODM for MongoDB
MIT License
487 stars 40 forks source link

Added `GetCreated` and `GetModified` #27

Closed ilijamt closed 6 years ago

ilijamt commented 6 years ago

Added GetCreated to TimeCreatedTracker and GetModified to TimeModifiedTracker

There are cases where you need to access those functions to be able to build a more generic implementation.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.1%) to 84.862% when pulling 88ad193bbafa9661edf8110287b4ea79187af71e on ilijamt:expand-base-document into 521df41080e16bfdf6a50167d6a7e6efb80add71 on go-bongo:master.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.1%) to 84.862% when pulling f2c12b1b5b342de3f4921a62aa7503a7d7581081 on ilijamt:expand-base-document into 521df41080e16bfdf6a50167d6a7e6efb80add71 on go-bongo:master.