mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-18 23:21:49 +03:00
12 lines
139 B
Go
12 lines
139 B
Go
|
package pub
|
||
|
|
||
|
import (
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
// Clock determines the time.
|
||
|
type Clock interface {
|
||
|
// Now returns the current time.
|
||
|
Now() time.Time
|
||
|
}
|