mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-18 06:52:01 -08:00
15 lines
297 B
Go
15 lines
297 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package model
|
|
|
|
type Audits []Audit
|
|
|
|
func (o Audits) Etag() string {
|
|
if len(o) > 0 {
|
|
// the first in the list is always the most current
|
|
return Etag(o[0].CreateAt)
|
|
}
|
|
return ""
|
|
}
|