Changes
2 changed files (+34/-0)
-
-
@@ -283,6 +283,16 @@ func ServiceNew(id ObjectID) *Service {return &o } func (a *Actor) Recipients() ItemCollection { rec, _ := ItemCollectionDeduplication(&a.To, &a.Bto, &a.CC, &a.BCC, &a.Audience) return rec } func (a *Actor) Clean() { a.BCC = nil a.Bto = nil } func (a *Actor) UnmarshalJSON(data []byte) error { if ItemTyperFunc == nil { ItemTyperFunc = JSONGetItemByType
-
-
-
@@ -341,3 +341,27 @@ func TestToPerson(t *testing.T) {func TestEndpoints_UnmarshalJSON(t *testing.T) { t.Skipf("TODO") } func TestActor_Clean(t *testing.T) { t.Skipf("TODO") } func TestOnActor(t *testing.T) { t.Skipf("TODO") } func TestToActor(t *testing.T) { t.Skipf("TODO") } func TestActor_IsCollection(t *testing.T) { t.Skipf("TODO") } func TestActor_Recipients(t *testing.T) { t.Skipf("TODO") } func TestPublicKey_UnmarshalJSON(t *testing.T) { t.Skipf("TODO") }
-