4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-03 16:37:44 +00:00

Use upstream slack-go/slack again (#1018)

This commit is contained in:
Wim
2020-03-01 20:59:19 +01:00
committed by GitHub
parent e9edbfc051
commit 250b3bb579
93 changed files with 507 additions and 113 deletions

View File

@ -0,0 +1,18 @@
package timex
import "time"
// Max returns the maximum duration
func Max(values ...time.Duration) time.Duration {
var (
max time.Duration
)
for _, v := range values {
if v > max {
max = v
}
}
return max
}