sentriz/gonic

LastModified field is set to 0?

Opened this issue · 0 comments

gonic version: 0.16.4

It appears that the LastModified field is set to 0, whereas the example API implementation returns a timestamp for when the index was last modified. Is this a design choice?

It seems like the Album struct has ModifiedAt which is already displayed on the admin panel. Perhaps the time of the most recently modified album can stand in for this LastModified field? This would be useful for index caching logic, for example.