MCPcopy Index your code
hub / github.com/writefreely/writefreely / Expired

Method Expired

invites.go:41–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41func (i Invite) Expired() bool {
42 return i.Expires != nil && i.Expires.Before(time.Now())
43}
44
45func (i Invite) Active(db *datastore) bool {
46 if i.Expired() {

Callers 2

ActiveMethod · 0.95
handleViewInviteFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected