I've added some documentation examples to the vocabulary module of #GoActivityPu...
marius @mariusor@metalhead.club
I've added some documentation examples to the vocabulary module of #GoActivityPub.
This was much more time consuming than I initially expected because I didn't realize there are so many assumptions that might not immediately obvious to end-users and resulting in a quite wide matrix of behaviours.
Perhaps that's the sign of a bad API, but frankly I didn't get any ideas about how to make it better. If anyone does, drop me a line. :D
https://pkg.go.dev/github.com/go-ap/activitypub#pkg-examples