Fix typo for JSONUnmarshalerFn description comment

This commit is contained in:
Anthony Wang 2022-08-22 12:10:02 -05:00
parent ee85f7d957
commit c0efdedaa9
Signed by: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -29,7 +29,7 @@ func GetItemByType(typ ap.ActivityVocabularyType) (ap.Item, error) {
return ap.GetItemByType(typ)
}
// JSONUnmarshalerFn is the type of the function that will load the data from a fastjson.Value into an Item
// JSONUnmarshalerFn is the function that will load the data from a fastjson.Value into an Item
// that the go-ap/activitypub package doesn't know about.
func JSONUnmarshalerFn(typ ap.ActivityVocabularyType, val *fastjson.Value, i ap.Item) error {
switch typ {