goap/nsW3.go
mStar a11353cc38 Add W3, Masto and W3 Security namespaces
All current keys in the constants for those namespaces (that are
attributes) are now added

Also remove useless import in the ActivityStreams namespace
2024-07-31 19:27:13 +02:00

14 lines
286 B
Go

package goap
// inbox
type InboxData struct {
FullIdType
}
func (actor *InboxData) GetSelfOrBase() (BaseApChain, bool) {
return actor.FullIdType.GetSelfOrBase()
}
func (actor *InboxData) MarshalToMap() map[string]any {
return actor.FullIdType.MarshalToMapWithName(KEY_W3_INBOX)
}