MCPcopy Create free account
hub / github.com/apache/answer / IsSuspended

Method IsSuspended

internal/schema/backyard_user_schema.go:97–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95}
96
97func (r *GetUserPageReq) IsSuspended() bool { return r.Status == constant.UserSuspended }
98func (r *GetUserPageReq) IsDeleted() bool { return r.Status == constant.UserDeleted }
99func (r *GetUserPageReq) IsInactive() bool { return r.Status == constant.UserInactive }
100

Callers 2

UpdateUserStatusMethod · 0.45
GetUserPageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected