this moves the unmarshaling of a remote actor out into a new helper which accounts for the possibility of a context being a list or a single entity. i.e. a string or an object. basics tests are provided for both situations also go fmt'd the file activitypub.go
3 lines
No EOL
34 B
JSON
3 lines
No EOL
34 B
JSON
{
|
|
"go.formatTool": "goimports"
|
|
} |