MCPcopy Create free account
hub / github.com/git-bug/git-bug / NewRemoveAdministratorOp

Function NewRemoveAdministratorOp

entity/dag/example_test.go:149–154  ·  view source on GitHub ↗
(author identity.Interface, toRemove ...identity.Interface)

Source from the content-addressed store, hash-verified

147}
148
149func NewRemoveAdministratorOp(author identity.Interface, toRemove ...identity.Interface) *RemoveAdministrator {
150 return &RemoveAdministrator{
151 OpBase: dag.NewOpBase(RemoveAdministratorOp, author, time.Now().Unix()),
152 ToRemove: toRemove,
153 }
154}
155
156func (ra *RemoveAdministrator) Id() entity.Id {
157 // the Id of the operation is the hash of the serialized data.

Callers 1

Example_entityFunction · 0.85

Calls 1

NewOpBaseFunction · 0.92

Tested by

no test coverage detected