Open
Description
Please Describe The Problematic Behavior
Copying the stubbed out code from the documentation (which is very helpful, by the way!) produces errors like these:
activitypub/activitypub.go:74:94: undefined: Activity
activitypub/activitypub.go:92:72: undefined: FederatingWrappedCallbacks
activitypub/activitypub.go:98:68: undefined: Activity
activitypub/activitypub.go:116:94: undefined: Activity
Please Describe The Expected Behavior
The examples should be like this
func (*myService) PostInboxRequestBodyHook(c context.Context,
r *http.Request,
activity pub.Activity) (context.Context, error) {
// TODO
return nil, nil
}
Note pub.Activity
instead of Activity
Metadata
Metadata
Assignees
Labels
No labels