Open Sigafoos opened 4 years ago
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
pub.Activity
Activity
Thanks! Also, it's OK to file the website issues here. But the site's repository is also available (and monitored) at: https://github.com/go-fed/site
Please Describe The Problematic Behavior Copying the stubbed out code from the documentation (which is very helpful, by the way!) produces errors like these:
Please Describe The Expected Behavior The examples should be like this
Note
pub.Activity
instead ofActivity