GoToSocial/vendor/github.com/go-fed/activity/pub/clock.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
}