This repository has been archived on 2022-03-09. You can view files and clone it, but cannot push or open issues or pull requests.
|
package reddit
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
// lol no generics
|
|
func maxOf(a, b time.Duration) time.Duration {
|
|
// lol no ternary statements
|
|
if a > b {
|
|
return a
|
|
}
|
|
|
|
return b
|
|
}
|