Fix typo for JSONUnmarshalerFn description comment

pull/20391/head
Anthony Wang 2022-08-22 12:10:02 -05:00
parent ee85f7d957
commit c0efdedaa9
No known key found for this signature in database
GPG Key ID: BC96B00AEC5F2D76
1 changed files with 1 additions and 1 deletions

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 {